Investing in stock


strong text

I'm stuck at this piece because i keep getting an error message : 'Oops, try again. Check what your code prints for orange. It doesn't look quite right!' :neutral_face:

for a in stock:
    print a
    print 'price %s' %(prices[a])
    print 'stock %s' %(stock[a])


the output should be an exact match, you are missing a colon after price and stock


Oh! Thanks . I'm gonna try that out now.


It worked! Yay! Thanks. Making a mistake is not an option in programming. Just a little glitch could make a whole program go boom.