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 utils import print_message, get_size, order_latte | |
def coffee_bot(): | |
print('Welcome to the cafe!') | |
order_drink = 'y' | |
drinks = [] | |
while order_drink == 'y': | |
size = get_size() | |
drink_type = get_drink_type() | |
temp = hot_or_iced() |
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
# Define your functions | |
def coffee_bot(): | |
print("Welcome to the cafe!") | |
size=get_size() | |
drink_type=get_drink_type() | |
temp=hot_or_iced() | |
print("Alright, that\'s one {} {} {}!".format(temp,size,drink_type)) | |
name=input("May I have your name please? ") | |
print("Thanks, {}! Your drink will be ready shortly.".format(name)) |