Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for irides (0.15 sec)

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

    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    Dans cet exemple :
    
    * La variable `prices` est de type `dict` :
        * Les clés de ce dictionnaire sont de type `str`.
        * Les valeurs de ce dictionnaire sont de type `float`.
    
    #### `Optional`
    
    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)
  2. docs_src/extra_models/tutorial003.py

    
    class CarItem(BaseItem):
        type: str = "car"
    
    
    class PlaneItem(BaseItem):
        type: str = "plane"
        size: int
    
    
    items = {
        "item1": {"description": "All my friends drive a low rider", "type": "car"},
        "item2": {
            "description": "Music is my aeroplane, it's my aeroplane",
            "type": "plane",
            "size": 5,
        },
    }
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 644 bytes
    - Viewed (1)
  3. docs/ko/docs/python-types.md

    첫 번째 매개변수는 `dict`의 키(key)이고,
    
    두 번째 매개변수는  `dict`의 값(value)입니다.
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    이 뜻은 아래와 같습니다:
    
    * 변수 `prices`는 `dict`이다:
        * `dict`의 키(key)는 `str`타입이다. (각 아이템의 이름(name))
        * `dict`의 값(value)는 `float`타입이다. (각 아이템의 가격(price))
    
    #### `Optional`
    
    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)
  4. docs/de/docs/python-types.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial008.py!}
        ```
    
    Das bedeutet:
    
    * Die Variable `prices` ist ein `dict`:
        * Die Schlüssel dieses `dict` sind vom Typ `str` (z. B. die Namen der einzelnen Artikel).
        * Die Werte dieses `dict` sind vom Typ `float` (z. B. der Preis jedes Artikels).
    
    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)
  5. docs/bn/docs/python-types.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial008.py!}
        ```
    
    
    এর মানে হল:
    
    * ভেরিয়েবল `prices` হল একটি `dict`:
        * এই `dict`-এর কীগুলি হল `str` টাইপের (ধরা যাক, প্রতিটি আইটেমের নাম)।
        * এই `dict`-এর মানগুলি হল `float` টাইপের (ধরা যাক, প্রতিটি আইটেমের দাম)।
    
    #### ইউনিয়ন
    
    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)
  6. docs/zh/docs/python-types.md

    #### 字典
    
    定义 `dict` 时,需要传入两个子类型,用逗号进行分隔。
    
    第一个子类型声明 `dict` 的所有键。
    
    第二个子类型声明 `dict` 的所有值:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    这表示:
    
    * 变量 `prices` 是一个 `dict`:
        * 这个 `dict` 的所有键为 `str` 类型(可以看作是字典内每个元素的名称)。
        * 这个 `dict` 的所有值为 `float` 类型(可以看作是字典内每个元素的价格)。
    
    ### 类作为类型
    
    你也可以将类声明为变量的类型。
    
    假设你有一个名为 `Person` 的类,拥有 name 属性:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial008.py!}
        ```
    
    Điều này có nghĩa là:
    
    * Biến `prices` là một `dict`:
        * Khóa của `dict` này là kiểu `str` (đó là tên của mỗi vật phẩm).
        * Giá trị của `dict` này là kiểu `float` (đó là giá của mỗi vật phẩm).
    
    #### Union
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
Back to top