(self, text: str)
| 21 | # ? what about other characters? |
| 22 | class Counter: |
| 23 | def __init__(self, text: str) -> None: |
| 24 | self.text = text |
| 25 | # Define the initial count of the lower and upper case. |
| 26 | self.count_lower = 0 |
| 27 | self.count_upper = 0 |
| 28 | self.compute() |
| 29 | |
| 30 | def compute(self) -> None: |
| 31 | for char in self.text: |