+ 2

How to take input at run time on python ? I'm always used static variable , i want user gives the input in python

I know in java or c++ or c but not in python

22nd Feb 2017, 7:57 AM
suneel singh
suneel singh - avatar
4 Antworten
+ 3
raw_input is a predefined method or object in python
23rd Feb 2017, 3:23 AM
suneel singh
suneel singh - avatar
+ 1
something like this? a=int(input(“pls input number”))
22nd Feb 2017, 9:13 AM
karlxu
karlxu - avatar
+ 1
food = raw_input("What type of food do you like?") print(food)
22nd Feb 2017, 10:04 PM
Jay
Jay - avatar
0
coz english
16th Mar 2017, 1:21 PM
maisie