I am trying to get my program to print out "banana"
from the dictionary. What would be the simplest way to do this?
This is my dictionary:
prices = {
"banana" : 4,
"apple" : 2,
"orange" : 1.5,
"pear" : 3
}
I am trying to get my program to print out "banana"
from the dictionary. What would be the simplest way to do this?
This is my dictionary:
prices = {
"banana" : 4,
"apple" : 2,
"orange" : 1.5,
"pear" : 3
}