karanAT
Results
2
comments of
karanAT
The 'mail' rule is not checking if the provided arg is of type(str), which is causing the issue. (In this case, it is of type(None)). I have implemented the check...
Another possible solution : ``` def check(self, arg): if type(arg) != str: if arg == None: return True raise TypeError( f"Value should be of type str. {arg} of type {type(arg)}...