keyboard_arrow_left keyboard_arrow_right
Farhan's Project

Farhan's Fun Facts

About Farhan

My name is Farhan Shihab and I am studying in the 7th grade. I like Playing and watching Cricket, playing board games, solving the Rubik's cube, etc.
Want to know more about me ? Visit my website:

Farhan's project details:

I have recently started learning Python Programming. I find it easy and interesting. Here, I have created a quiz of facts, with some interesting questions and facts that are good to know.

print("***WELCOME TO THE QUIZ OF FACTS!!!***\n") 
print("By") 
print("FARHAN SHIHAB\n") 
    
print("There are 10 questions in this quiz. All the questions are MCQ type. Every correct answer will give you 10 points.")
print("GOOD LUCK!!") 
score=0
    
print("\n-----------------------------------\n") 
print("Q1: How many elements are found of Earth?\n") 
print("1. 91")
print("2. 221") 
print("3. 121") 
print("4. 118") 
ans1 = int(input("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans1==4:   
    print("\nYour answer is CORRECT!")
    print("There are 118 known elements on Earth.!")
    score = score+10   
    print("\nYour current score is:", score) 
else:   
    print("\nOOPPSS!!!Your answer is INCORRECT.")
    print("The correct answer is : 118 known elements.")
    print("Better Luck with the next question!")
    print("\nYour current score is:", score)
    
print("\n-----------------------------------\n") 
print("Q2: Who is the inventor of computers?\n") 
print("1. Steve Jobs")
print("2. Charles Babbage") 
print("3. Blaise Pascal") 
print("4. Bill Gates")
ans2 = int(input("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans2 == 2:   
    print("\nWell Done!! Your answer is CORRECT.")
    print("Charles Babbage is known as the Father of Computers!")
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("\nOOPPSS!! Your answer is INCORRECT") 
    print("The correct answer is : Charles Babbage.")
    print("Charles Babbage is known as the Father of Computers!")
    print("Better Luck with the next question!!")
    print("\nYour current score is", score) 
    
    
print("\n-----------------------------------\n") 
print("Q3: Which is the smallest bone in the human body?\n") 
print("1. Jaw Bone")
print("2. Seventh Rib Bone") 
print("3. Ear Bone") 
print("4. Hip Bone")
ans3 = int(input("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans3 == 3:   
    print("\nWow!! That's CORRECT!")
    print("The Ear bone called Stirrup is the smallest bone in the body!")
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("\nOH NO!!Your answer is INCORRECT.") 
    print("The correct answer is : Ear Bone.")
    print("The Ear bone called Stirrup is the smallest bone in the body!")
    print("Better Luck with the next question!!")
    print("\nYour current score is", score)
    
print("\n-----------------------------------\n") 
print("Q4: Which is the longest river on the Earth?\n") 
print("1. Nile")
print("2. Ganga") 
print("3. Amazon") 
print("4. Amur")
ans4 = int(input("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans4==1:   
    print("\nYES!!! Your answer is CORRECT!")   
    print("The longest river on Earth is Nile and it flows through 11 countries in Northern Africa!")
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("\nOH NO!! Your answer is INCORRECT.")
    print("The longest river on Earth is Nile and it flows through 11 countries in Northern Africa!")
    print("Better Luck with the next question!!")
    print("\nYour current score is", score)
    
    
print("\n-----------------------------------\n") 
print("Q5: Which is the lightest element?\n") 
print("1. Helium")
print("2. Oxygen") 
print("3. Hydrogen") 
print("4. Nitrogen") 
ans5 = int(input ("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans5 == 3:   
    print("\nExcellent!! Your answer is CORRECT.")  
    print("Yes,Hydrogen is the lightest element known.")
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("NO, NO!! Your answer is INCORRECT")
    print("The correct answer is Hydrogen. It is the lightest element known.")
    print("Better Luck with the next question!!")
    print("\nYour current score is", score)
    
print("\n-----------------------------------\n") 
print("Q6: How many muscles do you have?\n") 
print("1. 650")
print("2. 860") 
print("3. 1,750")
print("4. 250") 
ans6 = int(input ("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans6 == 1:   
    print("\nAwesome!!! Your answer is CORRECT") 
    print("Yes,There are 650 muscles in the human body.")
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("Sorry!! Your answer is INCORRECT!")  
    print("The correct answer is : 650.")
    print("Better Luck with the next question!!")
    print("\nYour current score is", score)
    
print("\n-----------------------------------\n") 
print("Q7: Which is the highest waterfall on earth?\n") 
print("1. Angel Waterfall in Venezuela")
print("2. Niagara Waterfall in Canada") 
print("3. Grande Waterfall in Uruguay") 
print("4. Tugela Waterfall in South Africa") 
ans7 = int(input ("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans7 == 1:   
    print("\nWOW!! Your answer is CORRECT!")
    print("The Angel Waterfall in Venezuela is the highest waterfall on Earth!")
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("\nSorry!! Your answer is WRONG!")  
    print("The Angel Waterfall in Venezuela is the highest waterfall on Earth!")
    print("Better Luck with the next question!!")
    print("\nYour current score is", score)
    
print("\n-----------------------------------\n") 
print("Q8: Ferns are the world's oldest trees: True or False\n") 
print("1. True")
print("2. False") 
ans8 = int(input ("\nType option 1 or 2 as answer:"))
    
if ans8 == 1:   
    print("\nYes that's CORRECT!")   
    print("\nYes, There were forests of Ferns on Earth 300 million years ago!")
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("\nSadly, Your answer is INCORRECT!")
    print("It's true, there were forests of Ferns on Earth 300 million years ago!")
    print("Better Luck with the next question!!")
    print("\nYour current score is", score)
    
print("\n-----------------------------------\n") 
print("Q9: Which is the longest bone in the human body?\n") 
print("1. Vertebrae")
print("2. Thigh Bone") 
print("3. Skull")
print("4. Rib Rone") 
ans9 = int(input ("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans9 == 2:   
    print("\nGOOD GOING!! Your answer is CORRECT!") 
    print("Yes, The Thigh bones or Femur are the longest bones in the human body!")
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("\nOH NO!! Your answer is INCORRECT!")  
    print("Correct answer is : Thigh bone.")
    print("The Thigh bones or Femur are the longest bones in the human body!")
    print("Better Luck with the next question!!")
    print("\nYour current score is", score)
    
print("\n-----------------------------------\n") 
print("The last question of this QUIZ\n") 
print("Q10: Which is the smallest country in the world?\n") 
print("1. Monaco")
print("2. San Marino") 
print("3. St Christopher and Nevis")
print("4. Vatican City") 
ans10 = int(input ("\nType option 1 or 2 or 3 or 4 as answer:"))
    
if ans10 == 4:   
    print("\nVERY NICE!!! Your answer is CORRECT.") 
    print("Yes! Vatican City is the smallest the world, measuring just 0.2 square miles!") 
    score = score+10   
    print("\nYour current score is", score) 
else:   
    print("\nOOPPSS!! YOU HAVE GOT THIS WRONG!") 
    print("The Correct answer is : Vatican City.")
    print("Vatican City is the smallest the world, measuring just 0.2 square miles!")
    print("\nYour current score is", score)
    
print("\n-----------------------------------\n")
print("\nTHANK YOU FOR PLAYING MY QUIZ!!\n") 
print("YOUR FINAL SCORE IS:", score) 
print("\n*************THE END************")


                                         

Achivements







Name: Farhan Shihab
Grade: 7
Be the Next Creator like :

  We are very happy with the classes and teaching of Ms. Ramya of GIVEMEFIVE.
Parents of Farhan Shihab