Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 3.1 PEP 8 – Introduction
- * **pycodestyle** (formerly called pep8, but the name was changed to avoid confusion) - Python style gu... st_one = [1, 2, 3, 4, 5, 6 ] a = my_function_name(a, b, c, d, e, f) </code> <code python ✔> #... 1, 2, 3, 4, 5, 6, ] a = my_function_name(a, b, c, d, e, f) </code> ... ituations where your comments or docstrings use a name (e.g., an author’s name) that contains a non-ASCI
- 2.1 PEP 20 – The Zen of Python
- For example, if you want to take the user’s first name and last name, and display them on the screen, you can do it in one of the following ways: <code python> first_name = input("Enter your first name: ") last_name = input("Enter your last name: ") print("Your name is:",
- 4.1 PEP 257 – Docstring Conventions
- ode python># No type information added: def hello(name): return "Hello, " + name # Type information added to a function: def hello(name: str) -> str: return "Hello, " + name</code> Type hinting is **optional**, which means PEP 484 doe