What is def input_single_inter (prompt)

In 1st assignment def input_single_integer(prompt), can we use this only to convert from str’ to int’ ?

You can use int(s) to typecast a given string ‘s’ to integer.