Function names are lowercase, with words separated by underscores.
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it Function names are lowercase, with words separated by underscores.
Descriptive names are encouraged.
Function names typically evoke operations applied to arguments by the
interpreter (e.g., print , add , square ) or the name of the
quantity that result
Original toplevel document
1.3 Defining New Functions (non-rebellious) Python programmers. A shared
set of conventions smooths communication among members of a developer
community. As a side effect of following these conventions, you will find that
your code becomes more internally consistent.
<span>Function names are lowercase, with words separated by underscores.
Descriptive names are encouraged. Function names typically evoke operations applied to arguments by the
interpreter (e.g., print , add , square ) or the name of the
quantity that results (e.g., max , abs , sum ). Parameter names are lowercase, with words separated by underscores.
Single-word names are preferred. Parameter names should evoke the role of the parameter in the function, not
just the kind of argument that is allowed. Single letter parameter names are acceptable when their role is obvious, but
avoid "l" (lowercase ell), "O" (capital oh), or "I" (capital i) to avoid
confusion with numerals.
There are many exceptions to these guidelines, even in the Python standard
library. Like the vocabulary of the English language, Python has inherited
words from a variety of contribut
Summary
status
not read
reprioritisations
last reprioritisation on
suggested re-reading day
started reading on
finished reading on
Details
Discussion
Do you want to join discussion? Click here to log in or create user.