1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
rusak2 [61]
3 years ago
9

What did I do wrong? May you please correct it for me...I 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

Computers and Technology
1 answer:
inessss [21]3 years ago
4 0

Answer:

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?")

answer = input('Give "F" for False or "T" for True: ')

if answer == "T":

time.sleep(2)

print("Correct, you've gained 10 points!")

user_score += 10

elif answer == "F":

time.sleep(2)

print("Incorrect, you've lost 3 points!")

user_score += -3

Explanation:

Please check the answer. However, if before answer was wrong, and we need to use time.sleep(2) for delaying printing.

You might be interested in
Ian recently earned his security certification and has been offered a promotion to a position that requires him to analyze and d
vladimir1956 [14]

Answer:

A. Security administrator

Explanation:

Security administrator -

In the field of information technology , a security administrator is responsible to control the information technology related security , all the safety issues in the company , is the work profile of a Security administrator.

The person is responsible fight against any malware and virus which can attack the system .

Hence, from the given scenario of the question,

Ian is offered the position of a security administrator.

4 0
3 years ago
Need some help writing a simple PYTHON Student registration program:
Y_Kistochka [10]

import random

database = {}

while True:

   try:

       user_choice = int(input("Enter your student id to bring up your information (Press enter if you don't have one) : "))

       if user_choice in database:

           print("Student ID:",database[user_choice][0],"\nFirst name:",database[user_choice][1],"\nLast name:",database[user_choice][2],"\nPhone number:",database[user_choice][3],"\nEmail address:",database[user_choice][4],"\nPassword:",database[user_choice][5],"\nPoints:",database[user_choice][6])

   except ValueError:

       name = input("Enter your first name: ")

       last_name = input("Enter your last name: ")

       phone_number = input("Enter your phone number: ")

       email = input("Enter your email address: ")

       password = input("Enter a password: ")

       points = 100

       student_id = random.randint(1,1000)

       while student_id in database:

           student_id = random.randint(1,1000)

       print("Hello,",name,"your student ID is:",student_id)

       database[student_id] = [student_id,name, last_name, phone_number, email, password, points]

I wrote my code in python 3.8. I hope this helps.

6 0
3 years ago
Because the data was formatted the same in two inventory files, you decided to combine their contents into one file. Now you wan
snow_tiger [21]

Answer:

c. uniq

Explanation:

3 0
3 years ago
What is computer graphics uses of computer graphics​
d1i1m1o1n [39]

Answer:

The technology that deals with the design and pictures on computer is called computer graphics.

It is displaying art and image data effectively and meaningfully to the consumer.

It is also used for processing image data received from the physical world, such as photo and video content.

8 0
4 years ago
You are setting up a home network for your friend. She has students visiting her home regularly for lessons and wants to provide
SCORPION-xisa [38]

Answer:

A guest network

Explanation:

3 0
3 years ago
Other questions:
  • Find the simple interest Jay owes on a five-year student loan of $48,000 with an annual interest rate of 5%.
    9·1 answer
  • In many cases, a subquery can be restated as a/an ______________.
    13·1 answer
  • Software companies will often release a(n) ___ version to a limited audience that will test it on their systems. Programmers can
    11·1 answer
  • Define a void function that calculates the sum (+), difference (-), product (*), quotient (/), and modulus (%) of two integer nu
    14·1 answer
  • Write an SQL statement that uses all of the SQL built-in functions on the Quantity-OnHand column. Include meaningful column name
    14·1 answer
  • 7x+ 2x = 14<br>want is (x)?​
    15·1 answer
  • What can help narrow your search results when using the Index search feature in the Help menu?
    7·1 answer
  • The one who will defeat me in this typing race I will mark him/her brainliest
    10·1 answer
  • Can someone explain to me the process of inserting fonts into pdf, please? Also, related to this topic, metadata about a font th
    12·1 answer
  • Plz help
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!