Nth multiple of 4

The following function returns the Nth multiple of 4. What is N?

# python code start
def calc_nth_multiple_of_4():
    i = 0
    n = 0
    while (n < 11):
        i += 1
        if (i % 4 == 0):
            n += 1
    return i

Details and assumptions

The 1st multiple of 4 is 4.

×

Problem Loading...

Note Loading...

Set Loading...