mirror of
https://github.com/bikini/patchwork
synced 2026-06-27 08:08:41 +00:00
9 lines
242 B
Python
9 lines
242 B
Python
GREETING = 'Hello, World!'
|
|
|
|
def greet(name: str) -> str:
|
|
return f'{GREETING} (from {name})'
|
|
if __name__ == '__main__':
|
|
print(greet('patchwork'))
|
|
print('number:', 42)
|
|
print('computed:', sum((i * i for i in range(10))))
|