# ask user for name first firstname = input("What is your first name? ") lastname = input("What is your last name? ") # store numeric data in variables bill = 150 tip_percent = .15 # calculate how much to leave tip = bill * tip_percent # output to the user print("Welcome to the restaurant",firstname, lastname) print("For a bill of $150 you should leave $", tip, " for your server") print("With this tip, your total bill would be", bill + tip)