#Quiz
score=0
A1=str(input("What is the most incredible manga?"))
if A1=="Gintama" :
print("Correct!")
else:
print("Incorrect")
if A1=="Gintama" :
score=score+20
else:
score=0
A2=int(input("When was the game 'Ace Attorney Trilogy' first published?"))
if A2==2001:
print("Correct!")
else:
print("Incorrect")
if A2==2001:
score=score+20
else:
score=score
print("What's the most tasty drink? Choose the letter.")
print("A. Coca Cola")
print("B. Spite")
print("C. Pepsi Cola")
print("D. Paraquat")
A3=str(input("What's your answer?"))
if A3=="C":
print("Correct!")
else:
print("Incorrect")
if A3=="C":
score=score+20
else:
score=score
A4=str(input("Which subject is most disgusting?"))
if A4=="Literature":
print("Correct!")
else:
print("Incorrect")
if A4=="Literature":
score=score+20
else:
score=score
A5=int(input("How old am I?"))
if A5==15:
print("Correct!")
else:
print("Incorrect")
if A5==15:
score=score+20
else:
score=score
print("Your final score is "+str(score)+".")
#Guessing Game
print("LOADING...")
lower_bond=int(input("What is the lower bond of the number?"))
upper_bond=int(input("What is the upper bond of the number?"))
print("Generating a random number between "+str(lower_bond)+" and "+str(upper_bond)+"...")
times=int(input("How many tries for the player to win?"))
import random
answer=random.randint(lower_bond,upper_bond)
print("Be ready, let's play!")
player_name=str(input("Welcome, what's your name?"))
print("Hi "+player_name+", you are going to guess a number between "+str(lower_bond)+" and "+str(upper_bond)+".")
print("You have "+str(times)+" times to win the game.")
import random
i=0
while(i<=times): #change the number 5 to the actual tries
#add code here
player_answer=int(input("What's your guess?"))
if(player_answer>answer):
print("Your answer is too high.")
continue
if(player_answer<answer):
print("Your answer is too low.")
continue
if(player_answer==answer):
print("You win.")
break
i=i+1 #do not change this line
else:
print("You lose.")