Why does type checking not work in Python 3?
I have done the following code with type checks or hints:
import typing
def hello(message: str):
pr
They are called "Type Hints" for a reason. Python just gives the option to mark types in a standard and structured way, to guide other programmers or to facilitate IDE error checking.
However, Python doesn't enforce these Hints, nor there's any plan to, they are just that, not much more than comments.