MCPcopy Index your code
hub / github.com/geekcomputers/Python / __init__

Method __init__

1 File handle/File handle text/counter.py:10–16  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

8
9class Counter:
10 def __init__(self, text: str) -> None:
11 self.text = text
12
13 # Define the initial count of the lower and upper case.
14 self.count_lower = 0
15 self.count_upper = 0
16 self.count()
17
18 def count(self) -> None:
19 for char in self.text:

Callers

nothing calls this directly

Calls 1

countMethod · 0.95

Tested by

no test coverage detected