Rephrase wording

This commit is contained in:
Patrick Elmer 2023-09-18 12:27:24 +09:00
parent 7c1a4197be
commit 68bbefea52

View File

@ -21,8 +21,8 @@ By default the first function is called automatically. All following functions i
from typing import Annotated
def hello(
name: Annotated[str, 'Person to call'],
amount: Annotated[int, 'Person to call', 'a']=1,
name: Annotated[str, 'Person to greet.'],
amount: Annotated[int, 'How often to greet.', 'a']=1,
):
for _ in range(amount):
print(f"Hello {name}!")