subject

What did i do wrong? may you correct it for was also looking on how to delay when it prints. like when it prints a sentence i want it to wait about 2 seconds.

here's the code:

print("\nwelcome to the impossible quiz! \n")

name = input("what's your name before we get started? ")

print("nice to meet you, "+ name)

print("\nthe rules are very simple, get the answer right and you get 10 points. you only have one chance to get the answer right, get it wrong and you'll lose 3 points! ")

input("\nready? \n")

user_score = 0

print("first question: do slugs have four noses? ")
if answer = input('give "f" for false or "t" for true: ')

if answer == "t":
print("correct, you've gained 10 points! ")
user_score += 10

elif answer == "f":
print("incorrect, you've lost 3 points! ")
user_score += -3


What did i do wrong? may you correct it for was also looking on how to delay when it prints. like

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 00:30, Auttyrain3929
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, elviaortiz402373
Which of the following is not a “fatal four” event?
Answers: 2
image
Computers and Technology, 24.06.2019 15:30, pineapplefun
During the software planning process, rick, a project manager, finds that his team has made an incorrect estimation of funds. what kind of risk has rick identified? rick has identified a risk.
Answers: 1
image
Computers and Technology, 24.06.2019 16:50, genyjoannerubiera
Ramp charts are generally created in wordlotusexcelpowerpoint
Answers: 1
You know the right answer?
What did i do wrong? may you correct it for was also looking on how to delay when it prints. like...

Questions in other subjects:

Konu
English, 30.07.2021 17:20
Konu
Mathematics, 30.07.2021 17:20