this is the full code:
class Solution:
def equalFrequency(self, word: str) -> bool:
I want to know what is word:str -> bool: means in python
Can anyone explain this with examples. I only want to know what is word: str -> bool: means in python.