Skip to content

Implement close_account in bank.py#132

Open
hummusonrails wants to merge 1 commit into
ADG-VITV:mainfrom
hummusonrails:fix-close-account
Open

Implement close_account in bank.py#132
hummusonrails wants to merge 1 commit into
ADG-VITV:mainfrom
hummusonrails:fix-close-account

Conversation

@hummusonrails

Copy link
Copy Markdown

Summary

  • Implement Bank.close_account by removing the matching account from the bank's account list
  • Return True when an account is closed and False when no matching account exists
  • Add unit tests covering successful and missing-account close behavior

Tests

  • python3 -m unittest

/claim #23

@hummusonrails hummusonrails marked this pull request as ready for review May 7, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant