0
How do i make this work?
I want to print the directory of a list of builtin functions. This is my code so far. Printing them individually works: print (*dir(print), sep = '\n') how do I make my code work? https://code.sololearn.com/cjqg471WhhrM/?ref=app
3 Respostas
+ 3
Maybe, because:
functions = [ 'print', 'list'] #print and list are strings, here
#Try replace it with this:
functions = [print, list]
#And replace the '+' with ',' in line 3
+ 2
Sousou thank you