Cerca

Heus ací els resultats de la cerca.

4.1 PEP 257 – Docstring Conventions
6 Resultats, Darrera modificació:
<code 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
3.1 PEP 8 – Introduction
2 Resultats, Darrera modificació:
1980 } , "string" ) if 5 in my_list : print( "Hello!" ) ; print( "Goodbye!" ) </code> <code python ✔>... ear": 1980}, "string") if 5 in my_list: print("Hello!"); print("Goodbye!") </code> In the case of a
2.1 PEP 20 – The Zen of Python
1 Resultats, Darrera modificació:
o reduce density. Example: Print the message “Hello, World!” if the value passed to the x variable eq