Welcome to Westonci.ca, the Q&A platform where your questions are met with detailed answers from experienced experts. Join our platform to connect with experts ready to provide accurate answers to your questions in various fields. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

Ask “how many negatives did you get?” if answer is 1, display prompt 10 times. Else if answer is 2, display reminder 50 times, else if answer is 3, display warning 100 times, else display removal 500 times.

answer asap


Sagot :

Answer:

# This program is written in python.

x = input("How many negatives did you get?\n")

if x == "1":

   for i in range (10):

       print("prompt")

elif x == "2":

   for i in range (50):

       print("reminder")

elif x == "3":

   for i in range (100):

       print("warning")

else:

   for i in range (500):

       print("removal")

Thank you for your visit. We're dedicated to helping you find the information you need, whenever you need it. Thank you for visiting. Our goal is to provide the most accurate answers for all your informational needs. Come back soon. Get the answers you need at Westonci.ca. Stay informed by returning for our latest expert advice.