def func():
    print '*'

def do_n(f,n):
    if n <= 0:
        return
    else:
        f()
        do_n(f,n-1)

do_n(func,5)

426039cba7f61104c703cfa2f83f3eda8344d186
def func():
    print '*'

def do_n(f,n):
    if n <= 0:
        return
    else:
        f()
        do_n(f,n-1)

do_n(func,5)
