python input as int code example Example: how to get int input in python num = int(input("inter your number: ")) print(num)