+ 1

Question on inputing your input.

When I put input('Enter your name please: ') In the console, no dialogue box comes up just a >? where I type a word, then this happens. https://imgur.com/lQDIutR Sorry if this is obvious, I was part-way through learning C++, then switched to this, and it feels so different and alien, I get lost quite easily.

26th Jul 2018, 5:07 AM
Rowan
Rowan - avatar
3 Respuestas
0
replace it by: x=input('Enter your name') everything you input should be stored in a variable.
26th Jul 2018, 5:12 AM
Pulkit Kamboj
Pulkit Kamboj - avatar
0
It still says that the name is not defined.
26th Jul 2018, 5:19 AM
Rowan
Rowan - avatar
0
x = input() print(x)
26th Jul 2018, 7:03 AM
Markus Kaleton
Markus Kaleton - avatar