wangold revisou este gist . Ir para a revisão
1 file changed, 9 insertions
Swarm-readme-18.py(arquivo criado)
@@ -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}!") |
Próximo
Anterior