Answers for "Given a list of numbers, Iterate it and print only those numbers which are divisible of 5"

1

Given a list of numbers, Iterate it and print only those numbers which are divisible of 5

#Given a list of numbers, Iterate it and print only those numbers which are divisible of 5
y = [19, 205, 33, 47, 55]
for x in y:
    if (x % 5 == 0):
            print(x)
Posted by: Guest on June-03-2021

Code answers related to "Given a list of numbers, Iterate it and print only those numbers which are divisible of 5"

Browse Popular Code Answers by Language