All problems
MediumOOP
Name mangling — _private
Define a `BankAccount` with a _balance attribute and a deposit() / balance() method.
- #encapsulation
Sample input
deposit(500); deposit(300)
Sample output
800
class-private.py
Output
Press "Run code" to execute.
