0

Instead of print how can we use input, i didn't get it.

please answer my question, i am not getting it.

27th Jul 2018, 4:13 AM
shanawaz sk
shanawaz sk - avatar
1 Answer
0
print function prints out data to your python window input function asks for user to input x data to the program for later use. In input function the first argument is a printed message to the user, in which you can specify what kind of data you need. use input if you need data from the user. print("hello") a = input("what is your name?: ") print("hello " + a)
27th Jul 2018, 4:24 AM
Markus Kaleton
Markus Kaleton - avatar