- #1
- 7,007
- 10,464
- TL;DR Summary
- Program asks for input from user. I want to get a printout using input() value.
Hi, I have this mini-program and I am being lazy. Wherever I post this they make me go through a grinder reviewing basics . I just need a small hint. We are asking for the name of the user in "name =input()". I would like the line immediately after name 'x' is inputed to print 'Hi, x '. Instead, when I input 'x' as the name, the output is 'Hi , name' , and not 'Hi x':
Python:
('Hi, what is your name?')
name=input()
print('Hi + name' )
Last edited by a moderator: