Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for colonna (0.2 sec)

  1. docs/en/docs/python-types.md

    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    That is not the same as declaring default values like would be with:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    It's a different thing.
    
    We are using colons (`:`), not equals (`=`).
    
    And adding type hints normally doesn't change what happens from what would happen without them.
    
    But now, imagine you are again in the middle of creating that function, but with type hints.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. docs/pt/docs/python-types.md

    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    Declare a variável com a mesma sintaxe de dois pontos (`:`).
    
    Como o tipo, coloque a `List`.
    
    Como a lista é um tipo que contém alguns tipos internos, você os coloca entre colchetes:
    
    ```Python hl_lines="4"
    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    !!! tip "Dica"
        Esses tipos internos entre colchetes são chamados de "parâmetros de tipo".
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top