This file contains 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
from MenuItem import MenuItem | |
class Diner(object): | |
STATUSES = ["seated", "ordering", "eating", "paying", "leaving"] | |
# Set the diner’s name attribute to the input value. | |
# Set the diner’s order attribute to an empty list. | |
# Set the status attribute to 0. | |
def __init__(self, name): |
This file contains 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
from MenuItem import MenuItem | |
class Diner(object): | |
STATUSES = ["seated", "ordering", "eating", "paying", "leaving"] | |
# Set the diner’s name attribute to the input value. | |
# Set the diner’s order attribute to an empty list. | |
# Set the status attribute to 0. | |
def __init__(self, name): |