print("QUIZ ON ISRO\n")
print("The quiz will have 8 questions\n Each with 4 options\n every right answer will give you 20 points, and 10 points will be subtracted from your score when you will\n enter a wrong answer.")
score=0
print("score=",score)
print("Q1 What was the first satellite of India?")
print(" a GSAT-12\n b Aryabhata \n c IRNSS-1B \n d RISAT-1")
ans1=input("Enter your answer:")
if ans1=="b":
print("You have got the right answer\n you get 20 points.")
score=score+20
print("score=",score)
else:
score=score-10
print("Sorry but you have got this question wrong.\n 10 points will be taken away\n ")
print("score=",score)
print("Q2 When was the Candryan-1 launched?")
print(" a Feb 06, 2003 \n b Oct 22, 2008 \n c Dec 19, 1996 \n d Jan 17, 2009")
ans1=input("Enter your answer:")
if ans1=="b":
print("You have got the right answer\n you get 20 more points.")
score=score+20
print("score=",score)
else:
score=score-10
print("Sorry but you have got this question wrong.\n 10 points will be taken away\n ")
print("score=",score)
print("Q3 When was the Aryabhata launched?")
print(" a April 19, 1975 \n b Jan 23 1990 \n c Dec 19, 1980 \n d Jan 17, 2022")
ans1=input("Enter your answer:")
if ans1=="a":
print("You have got the right answer\n you get 20 more points.")
score=score+20
print("score=",score)
else:
score=score-10
print("Sorry but you have got this question wrong.\n 10 points will be taken away\n ")
print("score=",score)
print("Q4 Which rocket did Rakesh Sharma travel to space in?")
print(" a SLV-3 \n b GSAT-30\n cPSLV-XL \n d Soyeuz-T-11")
ans1=input("Enter your answer:")
if ans1=="d":
print("You have got the right answer\n you get 20 more points.")
score=score+20
print("score=",score)
else:
score=score-10
print("Sorry but you have got this question wrong.\n 10 points will be taken away\n ")
print("score=",score)
print("Q5 When did ISRO start building sounding rockets?")
print(" a 1982 \n b 1974\n c 1965 \n d 1948")
ans1=input("Enter your answer:")
if ans1=="c":
print("You have got the right answer\n you get 20 more points.")
score=score+20
print("score=",score)
else:
score=score-10
print("Sorry but you have got this question wrong.\n 10 points will be taken away\n")
print("score=",score)
print("Q6 When was ISRO established?")
print(" a October 1, 1958 \n b August 15, 1969 \n c May 6, 2002 \n d January 23, 1958")
ans1=input("Enter your answer:")
if ans1=="b":
print("You have got the right answer\n you get 20 more points.")
score=score+20
print("score=",score)
else:
score=score-10
print("Sorry but you have got this question wrong.\n 10 points will be taken away\n")
print("score=",score)
print("Q7 What was the first space launch vehicles of India?")
print(" a PSLV-c2\n b GSLV-4 \n c SLV-3 \n d EOS-01")
ans1=input("Enter your answer:")
if ans1=="c":
print("You have got the right answer\n you get 20 more points.")
score=score+20
print("score=",score)
else:
score=score-10
print("Sorry but you have got this question wrong.\n 10 points will be taken away\n ")
print("score=",score)
print("Q8 Who is referred to as the father of the Indian Space program?")
print(" a Vikam Sarabhai\n b Homi Jehangir Bhabha \n c APJ Abdul Kalam \n d Panchanan Maheshwari")
ans1=input("Enter your answer:")
if ans1=="a":
print("You have got the right answer\n you get 20 more points.")
score=score+20
print("score=",score)
else:
score=score-10
print("Sorry but you have got this question wrong.\n 10 points will be taken away\n ")
print("score=",score)
print(" Congratulations, you have completed this quiz")
if score>30:
print("with a great score")
else:
print("but you have not done very well,\n Do you wish to try again???")
a=input("type Yes or No if you want to try again.")
if a=="Yes":
print(" re-run this code, as you want to try again.")
else:
b=input("Type Yes or No if you want to check the answers.")
if b=="Yes":
print("""Q1= b
Q2= b
Q3= a
Q4= d
Q5= c
Q6= b
Q7= c
Q8= a""")
print("Thankyou for using this program")