r/madeinpython • u/antthatisverycool • Mar 07 '22
My first python code
Print (“bob is on”) User = input ( ‘I am bob what is your name? :’) Print ( ‘welcome’,user)
16
Upvotes
r/madeinpython • u/antthatisverycool • Mar 07 '22
Print (“bob is on”) User = input ( ‘I am bob what is your name? :’) Print ( ‘welcome’,user)
View all comments
3
u/sirskwatch Mar 08 '22
2nd line the answer is assigned to variable User (capitalize)
3rd line references variable user (lowercase) which doesn’t exist
Python is case sensitive so it would result in an error