how to take input values that are only integer in python code example Example: python input integer only num = int(input("Enter an integer number: "))