From 52c595a0c93960bc542d1b6e9010f823bbe903cb Mon Sep 17 00:00:00 2001 From: Mueez Khan <30333942+rzmk@users.noreply.github.com> Date: Sun, 3 Jan 2021 23:53:51 -0500 Subject: [PATCH] Day 1 - Created a band name generator! Main focus: - Print - Input - Variables --- Day 1/band-name-generator.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Day 1/band-name-generator.py diff --git a/Day 1/band-name-generator.py b/Day 1/band-name-generator.py new file mode 100644 index 0000000..4eb9e7a --- /dev/null +++ b/Day 1/band-name-generator.py @@ -0,0 +1,10 @@ +#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. +_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/