Welcome to the Treehouse Community
Looking to learn something new?
How to solve this??
how to solve this?
def loopy(items): for x in loopy: if x.lower(0) == "a": continue loopy() else: print(items)
Steven Parker215,939 Points
It looks like you have three main issues:
- your loop should iterate the items, not the function itself
- indexing is done with brackets ("
"), not the .lower() method
- when an item qualifies, you should print just that item, not all items
Also, while it doesn't hurt anything, any code after a continue statement is ignored.