Python OOP Assignment: ATM Machine Overview In this assignment, you will create an object-oriented ATM (Automated Teller Machine) simulation in Python. You'll implement a class with methods to handle basic banking operations. Requirements Class Definition Create a class named ATM with the following attributes: Balance: Initial value of 5000 rupees Pin: Default value of 1234 Required Methods
- check_pin(input_pin): Verify if the entered PIN matches the stored PIN
- check_balance(): Display the current account balance
- deposit(amount): Add money to the account (requires valid PIN)
- withdraw(amount): Remove money from the account (requires valid PIN and sufficient balance)
- exit(): Terminate the program Validation Rules PIN must be validated before allowing deposits or withdrawals Prevent negative deposit amounts Prevent withdrawals that exceed available balanc