Who can add a scoring system to this python code help!!!

Watch this thread
Lily09897
Badges: 9
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#1
Report Thread starter 1 year ago
#1
hey guys just wanted someone to add a scoring system to this python code.
i = 0
while i < 3:
song = input("Guess the song title S... R.....'s' Theme Song?:")
if song == "Seth Rollins Theme Song":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
answer1 = input("Who made Seth Rollins Theme Song ? \n A. The Miz \n B. Mickie James \n C. Brock Lesnar \n Answer: ")
if answer1 == "A" or answer1 == "The Miz":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
song = input("Guess the song title The U......... Theme Song?:")
if song == "The Undertaker's Theme Song":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
answer1 = input("Who made The Undertaker Theme Song ? \n A. Ultimate Warrior \n B. Shawn Michaels \n C. Kane \n Answer: ")
if answer1 == "B" or answer1 == "Shawn Michaels":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
song = input("Guess the song title S.... C... S.... A..... Song?:")
if song == "Stone Cold Steve Austin Theme Song":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
answer1 = input("Who made Stone Cold Steve Austin Theme Song ? \n A. Sycho Sid \n B. Bret Hart \n C. The Brothers of Destruction \n Answer: ")
if answer1 == "C" or answer1 == "The Brothers of Destruction":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
song = input("Guess the song title C. P... Theme Song?:")
if song == "CM Punk Theme Song":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
answer1 = input("Who made CM Punk Theme Song ? \n A. D - Generation X \n B. Chris Benoit \n C. The NWO \n Answer: ")
if answer1 == "B" or answer1 == "The NWO":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
song = input("Guess the song title T..... H Theme Song?:")
if song == "Triple H Theme Song":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
i = 0
while i < 3:
answer1 = input("Who made Triple H Theme Song ? \n A. Trish Stratus \n B. Johncena \n C. AJ Style \n Answer: ")
if answer1 == "A" or answer1 == "Trish Stratus":
print("That's the correct song")
break
else:
i += 1
if i == 3:
print("Too many attempts")
break
else:
print(f"That's the wrong song, you have {3-i} attempts left")
0
reply
username5189460
Badges: 18
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#2
Report 1 year ago
#2
you may get more help, if you post on another forum
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Y13's - If you haven't confirmed your firm and insurance choices yet, why is that?

I am waiting until the deadline in case anything in my life changes (25)
18.94%
I am waiting until the deadline in case something else changes (e.g. exams/pandemic related concerns) (15)
11.36%
I am waiting until I can see the unis in person (10)
7.58%
I still have more questions before I make my decision (22)
16.67%
No reason, just haven't entered it yet (34)
25.76%
Something else (let us know in the thread!) (26)
19.7%

Watched Threads

View All