I have just recenlty learned that you can specify the parameter and return type of a function in Python, something like this: