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