Answer
(a)
14 is even
15 is multiple of 5
30 is even
30 is multiple of 5
(b)
14 is even
15 is multiple of 5
30 is even
Work Step by Step
(a)
number = [14, 15, 30]
for number in number:
if number % 2 == 0:
print(number, "is even")
if number % 5 == 0:
print(number, "is multiple of 5")
(b)
number = [14, 15, 30]
for number in number:
if number % 2 == 0:
print(number, "is even")
elif number % 5 == 0:
print(number, "is multiple of 5")