python how to get user input numbers code example
Example 1: python input function
answer = input('What is your name?')
Example 2: user input of int type in python
#python program
#taking int input from user
#printing them
#num1 from user
num1 = int(input("Enter a number of type int"))
print(num1)