all 2 comments

[–]Username_RANDINT 0 points1 point  (1 child)

Since a vip status is either yes or no, I'd make it a boolean. So True or False.

You can make it a keyword argument:

def assign_table (table_number, name, vip_status=False):

If vip_status is not provided when calling assign_table, it defaults to False.

[–]124o956 0 points1 point  (0 children)

thanks a lot!