Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for orice (0.3 sec)

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

        ```
    
    This means:
    
    * The variable `prices` is a `dict`:
        * The keys of this `dict` are of type `str` (let's say, the name of each item).
        * The values of this `dict` are of type `float` (let's say, the price of each item).
    
    #### Union
    
    You can declare that a variable can be any of **several types**, for example, an `int` or a `str`.
    
    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)
  2. docs/tr/docs/python-types.md

    *  `prices` değişkeni `dict` tipindedir:
        *  `dict` değişkeninin `key` değeri  `str` tipindedir (herbir item'ın "name" değeri).
        *  `dict` değişkeninin `value` değeri `float` tipindedir (lherbir item'ın "price" değeri).
    
    #### `Optional`
    
    `Optional` bir değişkenin `str`gibi bir tipi olabileceğini ama isteğe bağlı olarak tipinin `None` olabileceğini belirtir:
    
    ```Python hl_lines="1  4"
    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)
  3. docs/ko/docs/python-types.md

    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    이 뜻은 아래와 같습니다:
    
    * 변수 `prices`는 `dict`이다:
        * `dict`의 키(key)는 `str`타입이다. (각 아이템의 이름(name))
        * `dict`의 값(value)는 `float`타입이다. (각 아이템의 가격(price))
    
    #### `Optional`
    
    `str`과 같이 타입을 선언할 때 `Optional`을 쓸 수도 있는데, "선택적(Optional)"이기때문에 `None`도 될 수 있습니다:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial009.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