A Dat @ the Supermarket


How can I proceed?
I have formulated this code and how can I specific apple, price and stock with out the rest of the items


Everything should be inside the for block:

for ____:
    # code
    # code
    # code

Instead of, "apple: %s" use what is expected:

print "price: %s" ...


Thx mate it worked, the question was not that clear I thought, it has to print just the required item (apple, stock) not the rest.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.