I tried doing a list comprehension. I typed:

favorite_fruits = ['watermelon', 'blackberries']
print(fruit for fruit in favorite_fruits)

And I got:

<generator object <genexpr> at 0x0402C7B0> 

What does this mean and what do I have to fix?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to