Seudónimo Seudónimo
  • 24-01-2021
  • Computers and Technology
contestada

how would i change this:
" try:
userChoice = input("Would you like to Add or Multipy?(A/M): ")
except:
print("Please enter 'A' or 'M'") "

so it only allows me to put "A" or "M" so that it runs the except part

Respuesta :

Cytokine
Cytokine Cytokine
  • 24-01-2021

You wouldnt use a try and except statement. Use a loop.

Ver imagen Cytokine
Answer Link

Otras preguntas

what was the goal of the scientific method developed by Bacon and descartes?
Write 3 1/8 as an improper fraction
The ratio of adults to children is 8:5 of 390 people
TRIGONOMETRIC RATIOS: A ship is 130m away from the center of a barrier that measures 180m from end to end. What is the minimum angle that the boat must be turne
how do you round 5 1/8 to the nearest whole number
What are oils and fats made from?
HELP PLEASE!!! How did the activities of the Spanish missions change the environment of coastal California?
Which events of 1943 helped make an Allied victory possible? Choose all answers that are correct. A. The atomic bomb was developed, tested, and used. B. U.S. in
Write about advantages or disadvantages of travelling by car/bike. Please for tomorrow!!!
WHAT DOES D.A.R.E. STANDS FOR