Skip to content

atm solution - #1

Open
dvirneuman wants to merge 1 commit into
masterfrom
atm
Open

atm solution#1
dvirneuman wants to merge 1 commit into
masterfrom
atm

Conversation

@dvirneuman

Copy link
Copy Markdown
Collaborator

No description provided.

Comment threadbasic/atm/atm.py
balance = float(customer_info[BALANCE_POSITION_LINE])
customer[id_file] = [password, balance]
except TypeError:
print("problem in balance")

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return None in this case

Comment threadbasic/atm/atm.py
try:
password_entered = input("enter password")
if password_check(password_entered, customer[id]):
check_balance(customer[id])

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to create a menu for the user to choose ATM operations

Sign up for freeto 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.

2 participants

@dvirneuman@anattyom