Hey guys how does an input work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hey guys how does an input work?

This is what I tried out... name=input('your name? ') print('Hi '+ name) So I guess it should give me the output... Your name? And when I type my name it should give me Hi then my name right am I missing something? Because I am not able to type anything in my output... Pls help me out.

21st Jul 2020, 2:44 PM
Mehul sathish
Mehul sathish - avatar
2 Answers
+ 6
Are you doing this on Sololearn? Because the conditions here are not exactly normal. If you try this in a regular environment, like on your PC, it should work as expected. https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
21st Jul 2020, 2:45 PM
HonFu
HonFu - avatar
+ 2
You are a Beast Honfu... Thnx buddy
21st Jul 2020, 2:51 PM
Mehul sathish
Mehul sathish - avatar