wangold ревизій цього gist . До ревизії
1 file changed, 9 insertions
Swarm-readme-18.py(файл створено)
@@ -0,0 +1,9 @@ | |||
1 | + | def greet(name, age: int, location: str = "New York"): | |
2 | + | """Greets the user. Make sure to get their name and age before calling. | |
3 | + | ||
4 | + | Args: | |
5 | + | name: Name of the user. | |
6 | + | age: Age of the user. | |
7 | + | location: Best place on earth. | |
8 | + | """ | |
9 | + | print(f"Hello {name}, glad you are {age} in {location}!") |
Новіше
Пізніше