micropython/tests/basics/fun_annotations.py

5 wiersze
75 B
Python
Czysty Zwykły widok Historia

def foo(x: int, y: list) -> dict:
return {x: y}
print(foo(1, [2, 3]))