![]() |
i have problems understanding 2 functions,look for help. - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: i have problems understanding 2 functions,look for help. (/thread-14538.html) |
i have problems understanding 2 functions,look for help. - Tony - Dec-05-2018 these 2 functions are def print_end(): print() def nothing(): "do nothing"for the first function, what is meant by print with no argument? for the second function,I just cannot understand the syntax and functionality here. Thanks RE: i have problems understanding 2 functions,look for help. - Gribouillis - Dec-05-2018 print('hello') print() print() print() print() print() print('world') def foobarbazqux(): "I'm foobarbazqux()'s function docstring" foobarbazqux() RE: i have problems understanding 2 functions,look for help. - Tony - Dec-05-2018 Thanks,I get it. (Dec-05-2018, 11:05 AM)Gribouillis Wrote:Thanks very muchprint('hello') print() print() print() print() print() print('world') def foobarbazqux(): "I'm foobarbazqux()'s function docstring" foobarbazqux() |