Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c5d3350

Browse files
Create BandnameGenerator.py
1 parent 2613feb commit c5d3350

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#1. Create a greeting for your program.
2+
print("Welcome to the Band Name Generator")
3+
4+
#2. Ask the user for the city that they grew up in.
5+
city=input("Enter the city in which you grow up: ")
6+
7+
#3. Ask the user for the name of a pet.
8+
pet=input("Please Enter the name of your pet: ")
9+
10+
#4. Combine the name of their city and pet and show them their band name.
11+
print("Your Band Name is: "+" "+pet+city)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /