Define the function get_num based that repeatedly asks the user to
enter a number until the user enters a valid integer >= min, where
min is a value passed to the function as a parameter. The function
should return the first valid integer value that was entered.
Assume: that the value passed is always an integer >= 0 ‘’’
My answer:
def get_num(min):
num = int(input("enter number here: "))
while num < min
num = int(input("enter number here again: "))
return num