how to only take the numbers of an input python code example Example: python input integer only num = int(input("Enter an integer number: "))