Created
April 17, 2022 19:48
-
-
Save ycui1/10ae3405605fe83c696cab95ae926e6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Person: | |
def __init__(self, name, person_id): | |
self.name = name | |
self.person_id = person_id | |
def load_account(self, amount): | |
# fetch the amount from the server | |
current_balance = 100 | |
current_balance += amount | |
# save the new balance to the server | |
def check_in(self, arriving_time): | |
record_time = arriving_time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment