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
AleksandrR [38]
3 years ago
9

Project: Math Tutor Program with Error Handling

Computers and Technology
2 answers:
galina1969 [7]3 years ago
5 0

Answer:

Woah

Explanation:

denpristay [2]3 years ago
3 0

Answer:

finished = False

numA = [4, 1, 6, 10, 2, 3, 7, 9, 11, 12, 5, 8]

numB = [2, 12, 10, 11, 1, 3, 7, 9, 4, 8, 5, 6]

while True:

 pick = input("Would you like to practice addition (+) or multiplication (*)?")  

 

 if pick == "+":

   for o, k in zip(numA, numB):

     ans = input(f"What is {o} + {k}?")

     

     if ans == str(o + k):

       print('Correct!\n')

     else:

       print(f"Incorrect! The correct answer was {o + k}\n")

   finished = True

 

 elif pick == "*":

   for o, k in zip(numA, numB):

     ans = input(f"What is {o} * {k}?")

     

     if ans == str(o * k):

       print('Correct!\n')

     else:

       print(f"Incorrect! The correct answer was {o * k}\n")

   finished = True

 

 else:

   print('Incorrect Input!')

 

 if finished:

   print('Thanks for playing!')

   break

Explanation:

aduhhhh

You might be interested in
Keith would like to compare data he has collected from research. The data includes the electrical output
liberstina [14]

Answer: my test says line graph soooo….

Explanation: if its what the test says

4 0
2 years ago
Christina used the following expression to calculate the average ages of her three program users: average = age1 + age2 + age3 /
aleksley [76]
I am thinking it's A. Not so sure though.
6 0
3 years ago
Read 2 more answers
What does expected initializer before ". " token mean?
densk [106]

;l p lm k                  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnn

4 0
3 years ago
Does anyone know how to snip or like screenshot the screen?
Rashid [163]

Answer:

yes it is on pc shift command 3

Explanation:

thats how i do it

8 0
3 years ago
in python, using the simplest form the print_seconds function so that it prints the total amount of seconds given the hours, min
PolarNik [594]

Answer:

I'm guessing you want a function so...

def print_seconds(hours, minutes, seconds):

seconds += 3600 * hours + 60 * minutes

print(seconds)

return 0

Hope this helps. :)

4 0
3 years ago
Other questions:
  • Which of the following best explains why some people invest their saving in the stock market and others put their saving in bank
    5·2 answers
  • The read/write heads of a hard disk gently rest on the hard disk platters in order to read and write the data.
    13·1 answer
  • What sugar is used in a DNA molecule​
    7·2 answers
  • Write the definitions of two classes Day and Night. Both classes have no constructors, methods or instance variables. Note: For
    8·1 answer
  • Under what circumstances are composite primary keys appropriate?
    5·1 answer
  • You are running an art museum. There is a long hallway with k paintings on the wall. The locations of the paintings are l1, ...,
    13·1 answer
  • When using correct ergonomic technique be sure to
    6·2 answers
  • Name the different type of vegetation found in India ?​
    8·2 answers
  • What is better for the sd card use as portable storage or use as internal storage?
    15·1 answer
  • Multiple choice:
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!