- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for get_name_with_age (0.3 sec)
-
tests/test_tutorial/test_python_types/test_tutorial003.py
import pytest from docs_src.python_types.tutorial003_py39 import get_name_with_age def test_get_name_with_age_pass_int(): with pytest.raises(TypeError): get_name_with_age("John", 30) def test_get_name_with_age_pass_str():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 308 bytes - Viewed (0) -
tests/test_tutorial/test_python_types/test_tutorial004.py
from docs_src.python_types.tutorial004_py39 import get_name_with_age def test_get_name_with_age_pass_int():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 177 bytes - Viewed (0) -
docs_src/python_types/tutorial004_py39.py
def get_name_with_age(name: str, age: int): name_with_age = name + " is this old: " + str(age)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 124 bytes - Viewed (0) -
docs_src/python_types/tutorial003_py39.py
def get_name_with_age(name: str, age: int): name_with_age = name + " is this old: " + ageRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 119 bytes - Viewed (0)