How to add inputs in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add inputs in python?

Ive'd forgotten how to print inputs Please fix or give tips to this code: https://code.sololearn.com/chgOlOgkwkgS/?ref=app

13th Dec 2018, 1:25 PM
A Google User
A Google User - avatar
2 Answers
+ 1
Take the >>> off both lines and align everything to the left. Then remove the space between print and (p). p = input("what is your name? ") print(p)
13th Dec 2018, 1:55 PM
Chris Ford
Chris Ford - avatar
0
Thanks
13th Dec 2018, 2:07 PM
A Google User
A Google User - avatar