# #   
# %s - String (or any object with a string representation, like numbers)
# %d - Integers
# %f - Floating point numbers
# %.<number of digits>f - Floating point numbers with a fixed amount of digits to the right of the dot.
# %x/%X - Integers in hex representation (lowercase/uppercase)

# ex= ['a' , 'b', 'c' ,'d'] 
# print(ex[-1]) #PRINTS THE LAST ITEM: 'd'
# print(ex[0:3]) #PRINTS ALL ITEMS BETWEEN PARMETERS ITEMS: ['a','b','c']     ####STARTING NO. IS INCL. LAST ONE ISNT### 
# print(ex[:2]) #PRINTS ITEMS UP TO SELECTED: ['a','b']
# print(ex[0:]) #PRINTS SELECTED ITEM AND ALL AFTER: ['a', 'b', 'c', 'd']



# fruits = ["apple", "banana", "cherry"]    #PRINTS: APPLE
# for x in fruits:                                   BANANA
# print(x)                                           CHERRY


#---------------------------------------------------------------------------------------
""" Create a program that lists your top 3 favorite foods.
You can only write a single print statement.
The list must have at least 5 items. """

# fav_foods = ['Cheesecake', 'cheesesticks','steak','eggs','bacon']
# num=0
# print(fav_foods[0:3])
