Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for last (0.15 sec)

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

        In this case, `str` is the type parameter passed to `List` (or `list` in Python 3.9 and above).
    
    That means: "the variable `items` is a `list`, and each of the items in this list is a `str`".
    
    !!! tip
        If you use Python 3.9 or above, you don't have to import `List` from `typing`, you can use the same regular `list` type instead.
    
    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
        first_name, last_name
    ```
    
    :
    
    ```Python
        first_name: str, last_name: str
    ```
    
    👈 ⚫️.
    
    👈 "🆎 🔑":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    👈 🚫 🎏 📣 🔢 💲 💖 🔜 ⏮️:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    ⚫️ 🎏 👜.
    
    👥 ⚙️ ❤ (`:`), 🚫 🌓 (`=`).
    
    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
        first_name, last_name
    ```
    
    以下へ変更します:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    これだけです。
    
    それが「型ヒント」です:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    これは、以下のようにデフォルト値を宣言するのと同じではありません:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    それとは別物です。
    
    イコール(`=`)ではなく、コロン(`:`)を使用します。
    
    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/ru/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    на:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Вот и все.
    
    Это аннотации типов:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Это не то же самое, что объявление значений по умолчанию, например:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Это другая вещь.
    
    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)
  5. docs/uk/docs/python-types.md

        У цьому випадку, `str` це параметр типу переданий у `List` (або `list` у Python 3.9 і вище).
    
    Це означає: "змінна `items` це `list`, і кожен з елементів у цьому списку - `str`".
    
    !!! tip
        Якщо ви використовуєте Python 3.9 і вище, вам не потрібно імпортувати `List` з `typing`, ви можете використовувати натомість тип `list`.
    
    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)
  6. docs/zh/docs/python-types.md

    让我们来修改上面例子的一行代码。
    
    我们将把下面这段代码中的函数参数从:
    
    ```Python
        first_name, last_name
    ```
    
    改成:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    就是这样。
    
    这些就是"类型提示":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    这和声明默认值是不同的,例如:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    这两者不一样。
    
    我们用的是冒号(`:`),不是等号(`=`)。
    
    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)
  7. docs/vi/docs/python-types.md

        Trong trường hợp này, `str` là tham số kiểu dữ liệu được truyền tới `List` (hoặc `list` trong Python 3.9 trở lên).
    
    Có nghĩa là: "biến `items` là một `list`, và mỗi phần tử trong danh sách này là một `str`".
    
    !!! tip
        Nếu bạn sử dụng Python 3.9 hoặc lớn hơn, bạn không phải import `List` từ `typing`, bạn có thể sử dụng `list` để thay thế.
    
    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)
  8. docs/tr/docs/python-types.md

    "dict", "list", "set" ve "tuple" gibi diğer değerleri içerebilen bazı veri yapıları vardır. Ve dahili değerlerinin de tip belirtecleri olabilir.
    
    Bu tipleri ve dahili tpileri bildirmek için standart Python modülünü "typing" kullanabilirsiniz.
    
    Bu tür tip belirteçlerini desteklemek için özel olarak mevcuttur.
    
    #### `List`
    
    Örneğin `str` değerlerden oluşan bir `list` tanımlayalım.
    
    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)
  9. docs/pt/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    para:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    É isso aí.
    
    Esses são os "type hints":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    Isso não é o mesmo que declarar valores padrão como seria com:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    É uma coisa diferente.
    
    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)
  10. docs/es/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    a:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Eso es todo.
    
    Esos son los "type hints":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    No es lo mismo a declarar valores por defecto, como sería con:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Es algo diferente.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top