Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for LAST_NAME (0.22 seconds)

  1. docs_src/python_types/tutorial002_py310.py

    def get_full_name(first_name: str, last_name: str):
        full_name = first_name.title() + " " + last_name.title()
        return full_name
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 172 bytes
    - Click Count (0)
  2. docs/en/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    to:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    That's it.
    
    Those are the "type hints":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    That is not the same as declaring default values like would be with:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    It's a different thing.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. docs_src/python_types/tutorial001_py310.py

    def get_full_name(first_name, last_name):
        full_name = first_name.title() + " " + last_name.title()
        return full_name
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 162 bytes
    - Click Count (0)
  4. docs/zh-hant/docs/python-types.md

    ### 加上型別 { #add-types }
    
    我們來修改前一版中的一行。
    
    我們只要把函式參數這一段,從:
    
    ```Python
        first_name, last_name
    ```
    
    改成:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    就這樣。
    
    那些就是「型別提示」:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    這和宣告預設值不同,例如:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    這是不同的東西。
    
    我們使用的是冒號(`:`),不是等號(`=`)。
    
    而且加上型別提示通常不會改變執行結果,和不加時是一樣的。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. docs/zh/docs/python-types.md

    ### 添加类型 { #add-types }
    
    我们来改前一个版本的一行代码。
    
    把函数参数从:
    
    ```Python
        first_name, last_name
    ```
    
    改成:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    就是这样。
    
    这些就是“类型提示”:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    这和声明默认值不同,比如:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    这是两码事。
    
    我们用的是冒号(`:`),不是等号(`=`)。
    
    而且添加类型提示通常不会改变代码本来的行为。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(5000, netServerEnum2.timeout);
        }
    
        /**
         * Test the reset method.
         */
        @Test
        void testReset() {
            String lastName = "LAST_NAME";
            netServerEnum2.reset(0, lastName);
            assertEquals(lastName, netServerEnum2.lastName);
        }
    
        /**
         * Test the writeSetupWireFormat method.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. docs/ja/docs/python-types.md

    先ほどのコードから一行変更してみましょう。
    
    関数のパラメータである次の断片を、以下から:
    
    ```Python
        first_name, last_name
    ```
    
    以下へ変更します:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    これだけです。
    
    それが「型ヒント」です:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    これは、以下のようにデフォルト値を宣言するのと同じではありません:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    それとは別物です。
    
    イコール(`=`)ではなく、コロン(`:`)を使用します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  8. docs/ru/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    на:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Вот и всё.
    
    Это и есть «подсказки типов»:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Это не то же самое, что объявление значений по умолчанию, как, например:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Это другая вещь.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  9. docs/es/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    a:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Eso es todo.
    
    Esas son las "anotaciones de tipos":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Eso no es lo mismo que declarar valores por defecto como sería con:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Es una cosa diferente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
  10. 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":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Isso não é o mesmo que declarar valores padrão como seria com:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    É uma coisa diferente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top