el

Cerca

Heus ací els resultats de la cerca.

4.1 PEP 257 – Docstring Conventions
11 Resultats, Darrera modificació:
Before we move on from talking about comments to elaborating on docstrings, there is one more Python ... uage itself to serve this purpose. This may be an elegant and useful way to highlight some of the more... functions, and method definitions. Now we want to elaborate on this: there are cases where they not on... ummary line followed by one blank line and a more elaborate description. Let's talk a bit more about e
3.1 PEP 8 – Introduction
6 Resultats, Darrera modificació:
rs / how_many_numbers return average else: return "Nothing happens." </code> == ... t (e.g., give your variables, functions, and code elements proper names). There are a few rules you s... single-letter names like l (the lowercase letter el), I (the uppercase letter eye), and O (the upperc... 2 > 1 if my_boolean_value == True: print("A") else: print("B") </code> <code python ✔> # Good
2.1 PEP 20 – The Zen of Python
5 Resultats, Darrera modificació:
nguishing between //complex as consisting of many elements// and //complicated, meaning difficult to u... nts** where necessary; keeping your code neat and elegant – these all contribute to how readable and u... ith standards and conventions** are all important elements in professional and responsible code develo... keeping naming conventions unchanged, or anything else. Example: Write a function that multiplies two