How to get input from user in python

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 : “))

My Thought

Your email address will not be published. Required fields are marked *

Our Tool : hike percentage calculator