I'm trying to learn to code but i'm not finding it easy
I'm up to here so far and i've hit a brick wall
www.hyperiondev.com
The question is
'
'Using the trinket IDE below, write a program that asks a user to input their name and then displays a message that welcomes the user by name.
Example output for program: Welcome Mike!
Remember to use the input command to get information and the print command to output information to the user.'
If I copy and paste the answer they give, it would be
name = input("What is your name?")
print("Welcome " + name + "!")
Obviously i've got to arrange it to say 'welcome mike'
So far i've tried
name = input("Mike")
print("Welcome " + name + "!")
But the trinket says 'Mike' and nothing else
I Know it's my first post, so i'm not sure if it's okay to just ask for help straight away but I wondering if anyone could help out?
thanks
I'm up to here so far and i've hit a brick wall
login
Log-in or create an account with HyperionDev. This is the first step to registering for a free trial on a web development, data science or software engineering bootcamp.
The question is
'
'Using the trinket IDE below, write a program that asks a user to input their name and then displays a message that welcomes the user by name.
Example output for program: Welcome Mike!
Remember to use the input command to get information and the print command to output information to the user.'
If I copy and paste the answer they give, it would be
name = input("What is your name?")
print("Welcome " + name + "!")
Obviously i've got to arrange it to say 'welcome mike'
So far i've tried
name = input("Mike")
print("Welcome " + name + "!")
But the trinket says 'Mike' and nothing else
I Know it's my first post, so i'm not sure if it's okay to just ask for help straight away but I wondering if anyone could help out?
thanks