What is the output of the following code if number is 14, 15, and 30? (a) if number % 2 == 0: print(number, "is even") if number % 5 == 0: print(number, "is multiple of 5") (b) if number % 2 == 0:...


What is the output of the following code if number is 14, 15, and 30?


(a) if number % 2 == 0:
print(number, "is even")
if number % 5 == 0:
print(number, "is multiple of 5")



(b) if number % 2 == 0:
print(number, "is even")
elif number % 5 == 0:
print(number, "is multiple of 5")



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here