Question: For questions 1 - 4 , consider the following code: num = int ( input ( Enter a number: ) ) num =

For questions 1-4, consider the following code:
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")
If the user enters 7 what is output? ________

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!