순 WPM0
WPM0
정확성100%
경과0s
시간—
문자0
잘못됨0
오류0
진행 상황0%

Shift + Enter · 시작/다시 시작

코드 프롬프트 가이드 읽기
프로그래밍 언어
Python
난이도
중간

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)