LizzyYao / DailyPractice

Python practice
0 stars 0 forks source link

better to use the stander function documentation string #8

Closed jackhwl closed 9 years ago

jackhwl commented 9 years ago

The first statement of a function can be an optional statement - the documentation string of the function or docstring.

instead of def process():

evaluate each statement to find the largest number.

should be def process(): "evaluate each statement to find the largest number."

jackhwl commented 9 years ago

the documentation string should indent