Skip to content

Instantly share code, notes, and snippets.

@ycui1
Created April 17, 2022 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ycui1/10ae3405605fe83c696cab95ae926e6d to your computer and use it in GitHub Desktop.
Save ycui1/10ae3405605fe83c696cab95ae926e6d to your computer and use it in GitHub Desktop.
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