1. In python code create 5 variables: street, city, number, state, zipcode. Then print using the variable names in the standard of a mail address.
2. Use a flow chart to describe this algorithm: "Tell the user to input their yearly wage. Then calculate how much they make per week off of 1 year salary.
1.
CODE
street = input("Enter the street: ")
city = input("Enter the city: ")
number = input("Enter the number: ")
state = input("Enter the state: ")
zipcode = input("Enter the zip: ")
print("Your mailing address: ")
print("%s %s, %s, %s %s" %(number, street, city, state, zipcode))
2.
Get Answers For Free
Most questions answered within 1 hours.