Ask coding questions
why is my input not working
On line 3 you must write:
print("hello "+name+" you live in "+age_)
The + does not create a space. Try doing:
print("Nice to meet you " + name)
print("nice to meet you",name)
the comma auto creates a space so you don't need to worry. Thanks :)
Mark this as the answer if this helped. Thanks!
Line 3 is supposed to be like this:
print("hello" + name_ + "you live in" + age_)
variables cannot have spaces, try using snake case instead.
name = input("what is your name")
place_to_live = input("where do you live")
print("hello" + name + "you live in" + place_to_live)