(self)
| 16 | self.count() |
| 17 | |
| 18 | def count(self) -> None: |
| 19 | for char in self.text: |
| 20 | if char.lower(): |
| 21 | self.count_lower += 1 |
| 22 | elif char.upper(): |
| 23 | self.count_upper += 1 |
| 24 | |
| 25 | return (self.count_lower, self.count_upper) |
| 26 | |
| 27 | def get_total_lower(self) -> int: |
| 28 | return self.count_lower |
no outgoing calls