Type hints are written for humans and tools. What does Python itself do with them when the program runs?
def double(x: int) -> int: return x * 2 print(double("ha"))
haha
It prints nothing: the function returns None
TypeError: x must be int
0