subject

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 5 what is output?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
The average cost of one year at a private college in 2012-2013 is $43,289. the average grant aid received by a student at a private college in 2012-2013 is $15,680.   what is the average student contribution for one year at a private college in 2012-2013?
Answers: 3
question
Computers and Technology, 22.06.2019 21:30
After you clean an engine with hot water spray, it seems to stall; when it doesn't stall, it's idling noisily. technician a says to check for loose bolts on the flex plate near the torque converter. technician b says to wipe down the spark plug wires and the distributor cap. who is correct? a. technician a b. both technicians a and b c. technician b
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
Perform the following tasks: a. create a class named testclass that holds a single private integer field and a public constructor. the only statement in the constructor is one that displays the message β€œconstructing”. write a main()function that instantiates one object of the testclass. save the file as testclass.cpp in the chapter 08 folder. run the program and observe the results. b. write another main()function that instantiates an array of 10 testclass objects. save the file as test class array.c . run this program and observe the results.
Answers: 1
You know the right answer?
Num = int(input("Enter a number: ")) num= num % 4
if (num == 1):
print ("A")
elif...
Questions
question
Mathematics, 25.04.2020 01:18
question
Mathematics, 25.04.2020 01:19
question
History, 25.04.2020 01:19
Questions on the website: 13722362