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


Topic: Write a Python function that Given a list of numbers, Iterate it and print only those numbers which are divisible of 5

Solution

def findDivisible(numberList):
    for num in numberList:
        if (num % 5 == 0):
            print(num)



List all Python Programs