Print("Nice! you scored ",i,"/ 40 you are quiet smart.") Print("Ouch, your score is ",i,"/ 40 better luck next time.") I will multiply the score with 10 and then I will pass the if-else conditionals to print the status of the result of this Quiz game: Now as we are done with the questions it’s time to show the scores to the user. Give_options("Share Capital", "Mutual Funds", "Bitcoin") ![]() Print("Question- What is the best Investment? ") Give_options("Data Science", "Artificial Intelligence", "Digital Marketing") Print("Question- What is more better among these? ") Give_options("Mark Zuckerberg", "Warren Buffet", "Steve jobs") Print("Question- Who is the Founder of Apple Inc? ") Print("Question- What is the best Programming Language? ") ![]() Print("Hello! Welcome to my Quiz" "\n" "All Questions carries 10 marks each")Īns = input("Are you ready to play (yes/no): ")Ī ="Note: wrtie answers! do not write option."Ĭorrect_ans =
0 Comments
Leave a Reply. |