Jul-04-2018, 09:03 PM
You pass func_a to func_c without calling it. func_c prints, and then calls the function that was passed to it (z()). So that calls func_a, which prints. func_a returns None (the default return value) to func_c, which does nothing. func_c returns None to the print function on line 6, and it gets printed.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures