To get input from user in python we have input build in function
x= input(“Enter a number : “)
x= input(“Enter your name : “)
To get number value from input python
x= int(input(“Enter a number : “))
Tutorialshore
To get input from user in python we have input build in function
x= input(“Enter a number : “)
x= input(“Enter your name : “)
To get number value from input python
x= int(input(“Enter a number : “))