Comprehension

The current version of Python Parser only supports list comprehension.

List Comprehension Syntax

[Expression for Variable in List] 

Or 

[Expression for Variable in List if Condition == True]

Example

multiples = [i for i in range(30) if i % 3 == 0]
print(multiples)

Output: [0, 3, 6, 9, 12, 15, 18, 21, 24, 27]