100-days-of-code/projects/Day 1/band-name-generator.py

10 lines
562 B
Python

#1. Create a greeting for your program.
print("Welcome to the band name generator!")
#2. Ask the user for the city that they grew up in.
city_name = input("What's the name of the city you grew up in?\n")
#3. Ask the user for the name of a pet.
pet_name = input("What's your pet's name?\n")
#4. Combine the name of their city and pet and show them their band name.
print("Your band name could be " + city_name + " " + pet_name + "!")
#5. Make sure the input cursor shows on a new line, see the example at:
# https://band-name-generator-end.appbrewery.repl.run/