Functions

get input with the given output, similar to how input function works in python

input with the given type, crashes if failed to convert

get input or if failed then return with the default value

get input or if failed then return with the default value

repeat forever until the user gets the correct input