We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a497c6b commit 0c21700Copy full SHA for 0c21700
1 file changed
python-typing/hello_world.py
@@ -1,9 +1,8 @@
1
# hello_world.py
2
def hello_world(name: str = 'Joe') -> str:
3
- print(f'Hello {name}')
+ return f'Hello {name}'
4
5
6
hello_world(name='Mark')
7
8
hello_world(name=2)
9
-
0 commit comments