Dec-23-2018, 03:59 PM
No, you can't put an elif in a ternary statement. You would have to break that list comprehension out into a loop with a full conditional statement.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures