4 ms·
This is why you should use type hints and some kind of type checking. sorted_list: list = my_list.sort() will raise a red flag with a type checker.
by pepoluan 2y ago
This is why you should use type hints and some kind of type checking.
sorted_list: list = my_list.sort()
will raise a red flag with a type checker.