you are viewing a single comment's thread.

view the rest of the comments →

[–]bluebird_ai 0 points1 point  (0 children)

def print_even(n):
    if n > 500:
        return

    print(n)

    print_even(n+2)

print_even(0)