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
What you want is a static typing, which is opposite to dynamic typing paradigm accepted by python.
static typing
dynamic typing
You may use mypy - a project which brings static typing to python.