Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for lives (0.16 sec)

  1. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. docs/ja/docs/python-types.md

    ## より強い動機
    
    この関数を見てください。すでに型ヒントを持っています:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    エディタは変数の型を知っているので、補完だけでなく、エラーチェックをすることもできます。
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image04.png">
    
    これで`age`を`str(age)`で文字列に変換して修正する必要があることがわかります:
    
    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## 型の宣言
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/uk/docs/python-types.md

    === "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!}
        ```
    
    === "Python 3.10 і вище"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
        ```
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. docs/ru/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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. docs/vi/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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  7. docs/zh/docs/python-types.md

    ## 更多动机
    
    下面是一个已经有类型提示的函数:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    因为编辑器已经知道了这些变量的类型,所以不仅能对代码进行补全,还能检查其中的错误:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image04.png">
    
    现在你知道了必须先修复这个问题,通过 `str(age)` 把 `age` 转换成字符串:
    
    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## 声明类型
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. docs/de/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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. docs/tr/docs/python-types.md

    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    Editör değişkenlerin tiplerini bildiğinden, yalnızca otomatik tamamlama değil, hata kontrolleri de sağlar:
    
    <img src="/img/python-types/image04.png">
    
    Artık `age` değişkenini `str(age)` olarak kullanmanız gerektiğini biliyorsunuz:
    
    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  10. 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 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