#Sam Ola
#10/1/2021
#i learned how to display different types of formats
#I had problems with the part "Program: What is on the menu?" so i couldn't finish that part
print("ms. Browning is in her office.".capitalize())
fav_color = "green"
print(fav_color.capitalize(), fav_color, fav_color,"and", fav_color.upper()+"!")
fav_food = "mac and cheese"
print("my favorite good is".swapcase(),fav_food.swapcase(),)
fav_food = "MAC AND CHEESE"
print("MY FAVORITE FOOD IS".lower(),fav_food.lower(),)
fav_food = "mac and cheese"
print("my favorite food is".upper(),fav_food.upper(),)
fav_food = "mac and cheese"
print("my favorite food is".capitalize(),fav_food)
fav_color = "Forest Green"
print(fav_color.capitalize().lower().upper().swapcase())
# review and run code
fav_color = input('What is your favorite color?: ').lower()
print(fav_color)
fav_color = input('what is your favorite color?:').upper()
print(fav_color)
# review and run code
menu = "salad, pasta, sandwich, pizza, drinks, dessert"
print('pizza' in menu)
# review and run code
greeting = "Hello World!"
print("'hello' in greeting = ",'hello' in greeting)
print("'Hello' in greeting = ", 'Hello' in greeting)
# review and run code
greeting = "Hello World!"
print("'hello' in greeting = ",'hello' in greeting)
print("'Hello' in greeting = ", 'Hello' in greeting)
print("'hello' in greeting if lower used = ", 'hello'.lower() in greeting.lower())
menu = "salad, pasta, sandwich, pizza, drinks, dessert"
print("pizza" in menu)
print('soup' in menu)
print('dessert' in menu)
menu = "salad, pasta, sandwich, pizza, drinks, dessert, bread"
menu_ask =
# [ ] fix the error - explain the what the error was and how you fixed it in your comments.
paint_colors = "red, blue, green, black, orange, pink"
print('Red in paint colors = ','red' in paint_colors)
#I put quotation marks in the word red on the 3rd line