# food_order.py
'''
The goal of this program is to let the user enter a three-digit number, and parse a lunch order
'''
food_list = ['sandwiches', 'rolls', 'cups of soup'] # these are the foods to order

def sandwich_order(in_num):
    return f"You want {in_num} {food_list[0]}, "

def roll_order(in_num):
    return f"{in_num} {food_list[1]}, "

def soup_order(in_num):
    return f"{in_num} {food_list[2]}."

def full_order(full_num):
    return sandwich_order( full_num // 100 ) + roll_order((full_num % 100) // 10) + soup_order(full_num % 10) # using // and % to get the correct digits

print("You can order 0-9 sandwiches, 0-9 rolls, 0-9 cups of soup")
user_input = int(input("Please give me all three numbers together >"))
print(full_order(user_input))

dab515e0c8e2df06d93f9f51c67a19488e601ab2
<mask token>


def sandwich_order(in_num):
    return f'You want {in_num} {food_list[0]}, '


<mask token>


def full_order(full_num):
    return sandwich_order(full_num // 100) + roll_order(full_num % 100 // 10
        ) + soup_order(full_num % 10)


<mask token>

<mask token>


def sandwich_order(in_num):
    return f'You want {in_num} {food_list[0]}, '


<mask token>


def soup_order(in_num):
    return f'{in_num} {food_list[2]}.'


def full_order(full_num):
    return sandwich_order(full_num // 100) + roll_order(full_num % 100 // 10
        ) + soup_order(full_num % 10)


<mask token>

<mask token>


def sandwich_order(in_num):
    return f'You want {in_num} {food_list[0]}, '


def roll_order(in_num):
    return f'{in_num} {food_list[1]}, '


def soup_order(in_num):
    return f'{in_num} {food_list[2]}.'


def full_order(full_num):
    return sandwich_order(full_num // 100) + roll_order(full_num % 100 // 10
        ) + soup_order(full_num % 10)


print('You can order 0-9 sandwiches, 0-9 rolls, 0-9 cups of soup')
<mask token>
print(full_order(user_input))

<mask token>
food_list = ['sandwiches', 'rolls', 'cups of soup']


def sandwich_order(in_num):
    return f'You want {in_num} {food_list[0]}, '


def roll_order(in_num):
    return f'{in_num} {food_list[1]}, '


def soup_order(in_num):
    return f'{in_num} {food_list[2]}.'


def full_order(full_num):
    return sandwich_order(full_num // 100) + roll_order(full_num % 100 // 10
        ) + soup_order(full_num % 10)


print('You can order 0-9 sandwiches, 0-9 rolls, 0-9 cups of soup')
user_input = int(input('Please give me all three numbers together >'))
print(full_order(user_input))

# food_order.py
'''
The goal of this program is to let the user enter a three-digit number, and parse a lunch order
'''
food_list = ['sandwiches', 'rolls', 'cups of soup'] # these are the foods to order

def sandwich_order(in_num):
    return f"You want {in_num} {food_list[0]}, "

def roll_order(in_num):
    return f"{in_num} {food_list[1]}, "

def soup_order(in_num):
    return f"{in_num} {food_list[2]}."

def full_order(full_num):
    return sandwich_order( full_num // 100 ) + roll_order((full_num % 100) // 10) + soup_order(full_num % 10) # using // and % to get the correct digits

print("You can order 0-9 sandwiches, 0-9 rolls, 0-9 cups of soup")
user_input = int(input("Please give me all three numbers together >"))
print(full_order(user_input))
