Rephrase wording
This commit is contained in:
parent
7c1a4197be
commit
68bbefea52
@ -21,8 +21,8 @@ By default the first function is called automatically. All following functions i
|
|||||||
from typing import Annotated
|
from typing import Annotated
|
||||||
|
|
||||||
def hello(
|
def hello(
|
||||||
name: Annotated[str, 'Person to call'],
|
name: Annotated[str, 'Person to greet.'],
|
||||||
amount: Annotated[int, 'Person to call', 'a']=1,
|
amount: Annotated[int, 'How often to greet.', 'a']=1,
|
||||||
):
|
):
|
||||||
for _ in range(amount):
|
for _ in range(amount):
|
||||||
print(f"Hello {name}!")
|
print(f"Hello {name}!")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user