Predict

Labels, Not Locks

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"))

What happens when this runs?