formations/algo/algofundoc/src/typetype.py

6 lines
169 B
Python

# Python 3.5+ supports 'type annotations' that can be
# used with tools like Mypy to write statically typed Python:
def my_add(a: int, b: int) -> int:
return a + b