Source code for docs_example.example1.hello
[docs]def say_hello(n: int = 1):
"""Print hello n times to terminal.
Args:
n (int): Print hello ``n`` times to terminal.
"""
for _ in range(n):
print('hello')
[docs]def say_hello(n: int = 1):
"""Print hello n times to terminal.
Args:
n (int): Print hello ``n`` times to terminal.
"""
for _ in range(n):
print('hello')