IDNLearn.com: Your trusted platform for finding reliable answers. Discover thorough and trustworthy answers from our community of knowledgeable professionals, tailored to meet your specific needs.

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

We greatly appreciate every question and answer you provide. Keep engaging and finding the best solutions. This community is the perfect place to learn and grow together. Thank you for visiting IDNLearn.com. We’re here to provide clear and concise answers, so visit us again soon.