Skip to content

Instantly share code, notes, and snippets.

View jenheller's full-sized avatar
Learning Git

Jen Heller jenheller

Learning Git
View GitHub Profile
jenheller /
Created June 8, 2020 21:58
Coffe Bot Version 2
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()
jenheller /
Created June 8, 2020 00:14
My coffee bot I created for Codecademy
# Define your functions
def coffee_bot():
print("Welcome to the cafe!")
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))