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