Dernière activité 1728946317

wangold a révisé ce gist 1728946317. Aller à la révision

1 file changed, 9 insertions

Swarm-readme-18.py(fichier créé)

@@ -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}!")
Plus récent Plus ancien