subject

Think of a genre (science, music, math, sports, video games, etc.) and create at least 10 questions. You can decide whether you want to make the questions multiple choice or not. Then, log on to REPL. it to get programming. Your quiz program must have the following items:

It must start by asking the user what their name is and welcoming them to your quiz. It pays to be polite!
Set up a variable to keep score. It is up to you how to design the points system. Will you give them 10 points for a correct answer and 0 for an incorrect answer? Or perhaps you will be tough and take away points for an incorrect answer!
Ask your 10 quiz questions. If they get a question wrong, be sure to tell the user what the correct answer was. Then, adjust the score appropriately, depending on whether their answer was right or wrong.
At the end of the program, tell the user their score.
Need an extra challenge? Try the following. These are not required.

Research how to use the lower() or upper() functions to allow the user to capitalize their answer (or not) and still receive credit as a correct answer.
Tell the user what percentage of the questions they got correct! Please write this code in python.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 09:30, shadowsnake
Write a function called checkfactor that takes two arrays of positive numbers, firstnumberrow and secondnumberrow. checkfactor checks if the first entry in firstnumberrow is divisible by the first entry in secondnumberrow, and performs the same operation on the next array elements until all entries have been checked. all the numbers are positive and the number of entries in the arrays are the same. the function should return the identified divisible numbers in two row arrays named firstdivisible and seconddivisible. restrictions: branches or loops should not be used. the code must use the internal mod and logical functions. hint: the mod function should be used to determine if two numbers are divisible. ex: for num1 and num2 if mod(num1,num2) is 0, then the two numbers are divisible. this is matlab
Answers: 2
image
Computers and Technology, 23.06.2019 21:50, Trinhphuongtran
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
image
Computers and Technology, 23.06.2019 22:30, kayelynn003
How many points do i need before i can send a chat
Answers: 1
image
Computers and Technology, 24.06.2019 14:00, ratpizza
Which describes careers that have similar education requirements but different qualifications? product safety engineers and materials engineers industrial safety engineers and industrial health engineers quality control systems managers and inspectors industrial safety and health engineers and hand packers
Answers: 3
You know the right answer?
Think of a genre (science, music, math, sports, video games, etc.) and create at least 10 questions....

Questions in other subjects:

Konu
Medicine, 05.01.2022 16:40