Tuesday, October 14, 2014

Day 139

Python at CodeCademy. Worked on Python tutorial 7 of 13, A Day at the Supermarket: Your Own Store! Worked on creating another dictionary .

Code used:
prices = {
    "banana": 4,
    "apple": 2,
    "orange": 1.5,
    "pear": 3
}

stock = {
    "banana": 6,
    "apple": 0,
    "orange": 32,
    "pear": 15
}

There was no interaction for this code:

No comments:

Post a Comment