Can an if statement in a list comprehension use an else?

7 posts were merged into an existing topic: How does indexing a string work? or What does word[0] in the example mean?