Not understanding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Not understanding

input in python

7th May 2017, 4:22 PM
hari sankaran.k
2 Answers
+ 5
'input' is what the user "put in", let say the user data entries. It's done with input() function. 'output' is what the program "put out", let say the displayed information for the user. It's done with print() function for text ( graphical outputs are handling by GUI modules ).
7th May 2017, 7:43 PM
visph
visph - avatar
+ 4
would it be like this: name = input("tell your name: ") print("\nyour name is " + name)
7th May 2017, 4:28 PM
Damião Brito
Damião Brito - avatar