how to make sure that the user inputs a integer in python code example Example: how to get int input in python num = int(input("inter your number: ")) print(num)