IDNLearn.com: Where your questions meet expert advice and community support. Ask anything and get well-informed, reliable answers from our knowledgeable community members.

If the user enters 5 what is output?



num = int(input("Enter a number: "))
num = num % 4
if (num == 1):
print ("A")
elif (num == 2):
print ("B")
elif (num == 3):
print ("C")
elif (num == 4):
print ("D")
else:
print ("E")


Sagot :

Answer: elif (num == 4):

Explanation:

Thank you for using this platform to share and learn. Don't hesitate to keep asking and answering. We value every contribution you make. Discover the answers you need at IDNLearn.com. Thanks for visiting, and come back soon for more valuable insights.