Jun-29-2018, 02:24 AM
I would agree with Zombie_Programming, but I would suggest using a triple quoted string for the line after the def statement:
def func(a): """Adds four.""" return a + 4Then when someone types help(func) in the interactive console, it will give them that text.
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