Python typing – stack overflow in Portuguese

It's a very simple question, is it possible to use static typing in Python?
For example, if I declare a variable of type int and then set the value & # 39; One & # 39; Assigned, no error occurs. I wanted to know if this kind of thing needs to be prevented.





x: int

x = "one"