keyboard_arrow_left keyboard_arrow_right

Vivaan's Project

Bend it like Beckham

About Vivaan

Hello my name is Vivaan I have I created this quiz on football.
I will ask you some questions and if you answer them correctly you will be rewarded with 10 points.

print("""Q1:HOW MANY BALLON'DORS HAS LIONEL MESSI WON
A:4
B:2
C:6
D:5""")

points=0
ANSWER=input ("CHOOSE THE CORRERT ANSWER FOR 10 POINTS")
if ANSWER=="C" or  ANSWER== "c":
    points+=10
    print("YOU HAVE CHOSEN THE CORECT ANSWER")
    print("YOUR TOTAL POINTS ARE :", points)
else:
    print("UNFORTUNATELY YOU CHOSE THE WRONG ANSWER THE  CORRECT ANSWER WAS C")
    
print("""Q2:HOW MANY TIMES HAS BRAZIL WON THE FIFA WORLD CUP
A:7
B:5
C:3
D:4""")
ANSWER=input ("CHOOSE THE CORRERT ANSWER FOR 10 POINTS")
if ANSWER=="B" or  ANSWER== "b":
    points+=10
    print("YOU HAVE CHOSEN THE CORECT ANSWER")
    print("YOUR TOTAL POINTS ARE :", points)
else:
    print("UNFORTUNATELY YOU CHOSE THE WRONG ANSWER THE  CORRECT ANSWER WAS B")
    
print("""Q3:WHO WON THE 2018 WORLD CUP GOLDEN BOOT
A:HARRY KANE
B:LIONEL MESSI
C:KYLIAN MBAPPE
D:EDEN HAZARD""")
ANSWER=input ("CHOOSE THE CORRERT ANSWER FOR 10 POINTS")
if ANSWER=="A" or  ANSWER== "a":
    points+=10
    print("YOU HAVE CHOSEN THE CORECT ANSWER")
    print("YOUR TOTAL POINTS ARE :", points)
else:
    print("UNFORTUNATELY YOU CHOSE THE WRONG ANSWER THE  CORRECT ANSWER WAS B")
print("""Q4:HOW MANY GOALS DID MESSI SCORE IN THE 2011/2012 SEASON
A:76 GOALS
B:54 GOALS
C:42 GOALS
D:91 GOALS""")
ANSWER=input ("CHOOSE THE CORRERT ANSWER FOR 10 POINTS")
if ANSWER=="D" or  ANSWER== "d":
    points+=10
    print("YOU HAVE CHOSEN THE CORECT ANSWER")
    print("YOUR TOTAL POINTS ARE :", points)
else:
    print("UNFORTUNATELY YOU CHOSE THE WRONG ANSWER THE  CORRECT ANSWER WAS D")
print("""Q5:WHO WON THE 2018/2019 PREMIER LEAGUE
A:MANCHESTER CITY
B: MANCHESTER UNITED
C:LIVERPOOL
D:CHEALSEA""")
ANSWER=input ("CHOOSE THE CORRERT ANSWER FOR 10 POINTS")
if ANSWER=="C" or  ANSWER== "c":
    points+=10
    print("YOU HAVE CHOSEN THE CORECT ANSWER")
    print("YOUR TOTAL POINTS ARE :", points)
else:
    print("UNFORTUNATELY YOU CHOSE THE WRONG ANSWER THE  CORRECT ANSWER WAS D")
    print("""Q6:WHO IS THE WORLDS BEST FOOTBALL PLAYER THAT IS A GIRL
A:ALEX MORGAN
BCARLI LLOYD
C:CHRISTINE SINCLAIR
D:ABBY WAMBACH""")
ANSWER=input ("CHOOSE THE CORRERT ANSWER FOR 10 POINTS")
if ANSWER=="A" or  ANSWER== "a":
    points+=10
    print("YOU HAVE CHOSEN THE CORECT ANSWER")
    print("YOUR TOTAL POINTS ARE :", points)
else:
    print("UNFORTUNATELY YOU CHOSE THE WRONG ANSWER THE  CORRECT ANSWER WAS A")
    print("""Q7: WHICH INTERNATIONAL FOOTBALL TEAM DID PELE PLAY FOR
A:ARGENTINA
B:BRAZIL
C:NETHERLANDS
D:FRANCE""")
ANSWER=input ("CHOOSE THE CORRERT ANSWER FOR 10 POINTS")
if ANSWER=="B" or  ANSWER== "b":
    points+=10
    print("YOU HAVE CHOSEN THE CORECT ANSWER")
    print("YOUR TOTAL POINTS ARE :", points)
else:
    print("UNFORTUNATELY YOU CHOSE THE WRONDG ANSWER THE  CORRECT ANSWER WAS B")
    print("""Q8:WHO WON THE FIRST FOOTBALL WORLD CUP
A:NETHERLANDS
B:GERMANY
C:URUGUAY
D:BRAZIL""")
ANSWER=input ("CHOOSE THE CORRERT ANSWER FOR 10 POINTS")
if ANSWER=="C" or  ANSWER== "c":
    points+=10
    print("YOU HAVE CHOSEN THE CORECT ANSWER")
    print("YOUR TOTAL POINTS ARE :", points)
else:
    print("UNFORTUNATELY YOU CHOSE THE WRONG ANSWER THE  CORRECT ANSWER WAS C")
    PRINT("THANK YOU FOR PLAYING MY QUIZ")

                                           

print("Hello my name is Vivaan I have I created this quiz on Cricket")

print("I will ask you some questions and if you answer them correctly you will be rewarded with 10 points")

print("MY hobby is to play sports.I like to play football,cricket and i like to swim")

print("In this quiz there are going 11 questions")

print("In this quiz there will be 11 questions")



question={1:"How many times has Australia won the cricket world cup?",
            
            2:"HOW MANY DAYS DOES A TEST MATCH TAKE TO COMPLETE?",
            
            3:"Who has scored the most runs in cricket?",
            
            4:"Who has the most wickets in cricket history?",
            
            5:"Who has won the Indian Premier League the most times",
            
            6:"who has hit  the  highest number of sixes in odi cricket?",
            
            7:"Which player of chennai super kings is famous as he has sung the song Champion",
        
            8:"Q9:Which two teams in IPL were banned for match fixing",
            
            9:"Who was the captain of Kings XI punjab in the 2020 edition of ipl",
            
            10:"Who is the only British Prime Minister to have played first-class cricket?",
            
            11:"Who was the first Indian player to score a triple century"}
            
            
Option={1:["A=2","B=4","C=5","D=3"],
        
        2:["A=4 days","B=5 days","C=1 week","D=3 days"],
        
        3:["A=Sachin Tendulkar","B=Ricky Ponting","C=Jacques Kallis","D=Rahul Dravid"],
        
        4:["A=Shane Warne","B=Anil Kumble","C=James Anderson","D=Muttiah Muralitharan"],
        
        5:["A=Rajasthan Royals","B=Mumbai Indians","C=Dehli Capitals","D=Chennai Super Kings"],
        
        6:["A=Virendra sehwag","B=Chris gayle","C=AB de villers","D=kieron pollard"],
        
        7:["A=Rahul Dravid","B=Kieron Pollard","C=Chris Gayle","D=Dwayne Bravo"],
        
        8:["A=Mumbai Indians and Delhi Dardevils","B=:Royal Challengers Banglore and Sunrisers Hyderabad",
            
            "C=Chennai super kings and Rajasthan royals","D=Kolkata Knight riders and Chennai super kings"],
        
        9:["A=Glenn Maxwell","B=Manish Pandey","C=Mayank Agarwal","D=KL Rahul"],
        
        10:["A=John Major","B=Winston Churchill","C=Henry John Temple","D=Alec Douglas-Home"],
        
        11:["A=Sachin Tendulkar","B=Virender Sewhag","C=Kapil Dev","D=MS Dhoni"]}
        
        

correct_option={1:"c",2:"b",3:"a",4:"d",5:"b",6:"b",7:"d",8:"c",9:"d",10:"d",11:"b"}

score=0

count=1

for key in question:

    print("Question",count,question.get(key))
    
    count+=1
    
    list_answers=Option.get(key)
    
    for option in list_answers:
        print(option)
    user_action=input("Enter the correct option as a,b,c,d")

    if user_action.lower()==correct_option.get(key).lower():
        print("Your answer is correct.You have been rewarded with 10 points")
        score+=10
    else:
        print("You chose the incorrect option.Better luck next time")
    
print("Your final score is",score)
                                           
Name: Vivaan Aurora
Grade: 5
Be the Next Creator like :