계좌 클래스

Account 클래스를 만들고 deposit, withdraw 메서드를 구현하세요.

보통

문제 상세

예제:

입력: deposit(100)
출력: balance=100

제약 조건:

  • 잔액 음수 불가

코드 작성

Python 3