def f(x: int) -> float:
pass
a = f.__annotations__
x = a["x"] is int
y = a["return"] is float
print(x, y)
Post #1451
2.93K
Что выведет код?
- 👍 6