Roundup Tracker - Issues

Message6414

Author When in trouble, go to the library
Recipients When in trouble, go to the library
Date 2019-03-22.11:29:14
Message-id <1553254155.01.0.829367104855.issue2551031@roundup.psfhosted.org>
In-reply-to
THE BRACES ARE ACTUALLY NOT PART OF A FUNCTION'S NAME
SO LET'S TRY REMOVING THEM

def print_doof():
    print('doof')

f = print_doof


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

mach_n(f,6)

RUN MODULE

 RESTART: C:\Users\Henrike
Schwenn\Roaming\Programs\Python\Python36\eigene Funktionen\rekursive
Funktionen\mach_n mit Funktionsobjekt.py 
>>> 

PYTHON DOESN'T RETURN ANYTHING
History
Date User Action Args
2019-03-22 11:29:15When in trouble, go to the librarysetmessageid: <1553254155.01.0.829367104855.issue2551031@roundup.psfhosted.org>
2019-03-22 11:29:15When in trouble, go to the librarysetrecipients: + When in trouble, go to the library
2019-03-22 11:29:15When in trouble, go to the librarylinkissue2551031 messages
2019-03-22 11:29:14When in trouble, go to the librarycreate