Čisté WPM0
WPM0
Přesnost100%
Uplynulý čas0s
Čas—
Znaky0
Nesprávně0
Chyby0
Pokrok0%
Caps Lock zapnutý
Průvodce rychlým čtením kódu
- Programovací jazyk
- Python
- Obtížnost
- Střední
Define a class with state and an increment method.
class Counter:
def __init__(self, start=0):
self.value = start
def increment(self):
self.value += 1
return self.value
counter = Counter(3)