Would be great if Educative can update all the Python code to have type hints and using Python3 if not already.
I see that the Python tab is labelled Python3 but it seems to be a very old version of Python3 that doesn’t support type hints. Type hints are crucial especially when looking at the function signature.