Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Furture Learn - New project Bot
- # Programming-101: an introduction to python for educators
- # for P3: users_name = input("What is your name? ") Use raw_input for P27
- # Challenge
- # print a static welcome message
- # Use input to ask the user’s name and store it in a variable called users_name.
- # Use print and the users_name variable to display a “Welcome [name]” message.
- print(" Hallo, I am Fred, your friendly bot.")
- users_name = input("Please type your name. ")
- print("Hallo " + users_name + ", a warm welcome to you.")
- # NameError: name 'Print' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement