In Python, we can define the type of arguments and return data. I just wonder why the code below does not raise any exceptions.
There are two violations here. I am pa