forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexpr4.py
More file actions
30 lines (27 loc) · 1.36 KB
/
expr4.py
File metadata and controls
30 lines (27 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
arr2 = [i for i in range(7) if i != 3]
arr2 : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
[ : punctuation.definition.list.begin.python, source.python
i : source.python
: source.python
for : keyword.control.flow.python, source.python
: source.python
i : source.python
: source.python
in : keyword.control.flow.python, source.python
: source.python
range : meta.function-call.python, source.python, support.function.builtin.python
( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python
7 : constant.numeric.dec.python, meta.function-call.arguments.python, meta.function-call.python, source.python
) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python
: source.python
if : keyword.control.flow.python, source.python
: source.python
i : source.python
: source.python
!= : keyword.operator.comparison.python, source.python
: source.python
3 : constant.numeric.dec.python, source.python
] : punctuation.definition.list.end.python, source.python