Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for line (0.27 sec)

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

    ## 🌅 🎯
    
    ✅ 👉 🔢, ⚫️ ⏪ ✔️ 🆎 🔑:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    ↩️ 👨‍🎨 💭 🆎 🔢, 👆 🚫 🕴 🤚 🛠️, 👆 🤚 ❌ ✅:
    
    <img src="/img/python-types/image04.png">
    
    🔜 👆 💭 👈 👆 ✔️ 🔧 ⚫️, 🗜 `age` 🎻 ⏮️ `str(age)`:
    
    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## 📣 🆎
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    === "Python 3.10+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009.py!}
        ```
    
    === "Python 3.8+ alternative"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009b.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. docs/de/docs/python-types.md

        * ... und andere.
    
    ### Klassen als Typen
    
    Sie können auch eine Klasse als Typ einer Variablen deklarieren.
    
    Nehmen wir an, Sie haben eine Klasse `Person`, mit einem Namen:
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Dann können Sie eine Variable vom Typ `Person` deklarieren:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. docs/fr/docs/python-types.md

    ### Ajouter des types
    
    Modifions une seule ligne de la version précédente.
    
    Nous allons changer seulement cet extrait, les paramètres de la fonction, de :
    
    
    ```Python
        first_name, last_name
    ```
    
    à :
    
    ```Python
        first_name: str, last_name: str
    ```
    
    C'est tout.
    
    Ce sont des annotations de types :
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. docs/tr/docs/python-types.md

    From `typing`, import `List` (büyük harf olan `L` ile):
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    Değişkenin tipini yine iki nokta üstüste (`:`) ile belirleyin.
    
    tip olarak `List` kullanın.
    
    Liste, bazı dahili tipleri içeren bir tür olduğundan, bunları köşeli parantez içine alırsınız:
    
    ```Python hl_lines="4"
    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  6. docs/pt/docs/python-types.md

    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    Como o editor conhece os tipos de variáveis, você não apenas obtém a conclusão, mas também as verificações de erro:
    
    <img src="/img/python-types/image04.png">
    
    Agora você sabe que precisa corrigí-lo, converta `age` em uma string com `str (age)`:
    
    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. docs/bn/docs/python-types.md

    === "Python 3.10+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009.py!}
        ```
    
    === "Python 3.8+ বিকল্প"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009b.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 15:34:37 GMT 2024
    - 36K bytes
    - Viewed (0)
  8. docs/es/docs/python-types.md

    De `typing`, importa `List` (con una `L` mayúscula):
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    Declara la variable con la misma sintaxis de los dos puntos (`:`).
    
    Pon `List` como el tipo.
    
    Como la lista es un tipo que permite tener un "sub-tipo" pones el sub-tipo en corchetes `[]`:
    
    ```Python hl_lines="4"
    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  9. docs/ko/docs/python-types.md

    ## 더 큰 동기부여
    
    아래 함수를 보면, 이미 타입 힌트가 적용되어 있는 걸 볼 수 있습니다:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    편집기가 변수의 타입을 알고 있기 때문에, 자동완성 뿐 아니라 에러도 확인할 수 있습니다:
    
    <img src="/img/python-types/image04.png">
    
    이제 고쳐야하는 걸 알기 때문에, `age`를 `str(age)`과 같이 문자열로 바꾸게 됩니다:
    
    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## 타입 선언
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top