"""numbers=[1, 2, 3, 4, 5]

numbers1 = []

for num in numbers:
    square = num**2
    numbers1.append(square)
print (numbers1)"""

"""nested_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
for item in nested_list:
    for createdvariable in item:
        print(createdvariable)"""

prices = {
    "Banana": 4,
    "Apple":  2,
    "Orange": 1.5,
    "Pear": 3}
stock = {
    "Banana": 6,
    "Apple": 0,
    "Orange": 32,
    "Pear": 15}

for fruit in prices:
    print (fruit)
    print( "Price: " + str(prices[fruit]))
    print( "Stock: " + str(stock[fruit]))

    
