Loops and Lists


#1




https://www.codecademy.com/en/courses/python-beginner-en-fymF4/5/4
exercise 48- Loops and lists.

The code works perfectly but it won't let me go on to the next exercise, probably I didn't write the code as they wanted, but I don't know what's wrong..


fruit = ['apple', 'pear', 'mango', 'lime']
for item in fruit:
    print "In stock: " + item


#2

try printing item without additional string


#3

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