Hello,

I just started using list comprehensions (loving them!)

I know you can add an if statement, but can you put in there an else?
I could not find an example of this.


Thanks
Bernard
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to