0

What is the code required to give an input

8th Dec 2016, 5:58 PM
mahesh
2 Answers
+ 3
To take input from the user .... keyword INPUT is used and to save that input entered by user we store it in variable. var = input ("Enter any Input") #var is variable
8th Dec 2016, 9:26 PM
Waqas Asghar Bhalli
Waqas Asghar Bhalli - avatar
0
#Example to get input from user n=int(input("enter n"))
8th Dec 2016, 6:53 PM
abhi