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

Help me please

How do i make user input in phyton?

5th Mar 2017, 2:22 PM
Lazar Varagic
Lazar Varagic - avatar
3 Answers
+ 7
@vishnu: raw_input() is only Python 2.x compliant, not valid and even necessary in Python 3.x ;)
5th Mar 2017, 6:51 PM
visph
visph - avatar
+ 5
input(":-)")
5th Mar 2017, 2:26 PM
Samuel Šúr
Samuel Šúr - avatar
+ 5
#you can assign it to a variable :-) a = input("Write something :-)")
5th Mar 2017, 2:28 PM
Samuel Šúr
Samuel Šúr - avatar