Write a function with a generator which can iterate the numbers, which are divisible by 7, between a given range 0 and n.


Topic: Write a function with a generator which can iterate the numbers, which are divisible by 7, between a given range 0 and n.

Solution

def putNumbers(n):
    i = 0
    while i



List all Python Programs