Answer to Question #259924 in Python for emi

Question #259924
  1. Create a variable that prompts the user (input) for their first name.
  2. Print out a statement that welcomes the new user.
  3. Create a variable that prompts the user (input) for their age.
  4. Print out a statement that tells the user how old they are.
  5. Create a variable that prompts the user (input) to ask where they live.
  6. Print out a statement that tells them where they live is a nice area.
  7. Create code that uses all 3 pieces of the user information to greet the person. 
  8. Create a variable that prompts the user (input) for their last name.
  9. Create code that outputs their name (lastName, firstName)

I need help with this, I dont have money so please do this for free.



1
Expert's answer
2021-11-02T00:38:12-0400
name = input("What is your name:")
print("Hello,", name)
age = int(input("How old are you:"))
print("You are", age, "years old")
country = input("Where do you live:")
print("You live in", country, ", it is a great place")
print("Hello,", age, "years old", name, "you live in", country)
last_name = input("What is your last name:")
print(name, last_name)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog