mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-28 00:40:07 +08:00
32 lines
227 B
Python
32 lines
227 B
Python
|
a = [
|
||
|
1, 2, 3]
|
||
|
|
||
|
b = [
|
||
|
x + 1
|
||
|
for x in range(3)]
|
||
|
|
||
|
c = [[[
|
||
|
1
|
||
|
]]]
|
||
|
|
||
|
d = [[[
|
||
|
4]]]
|
||
|
|
||
|
e = [[
|
||
|
1], 2, 3]
|
||
|
|
||
|
def foo(x, y):
|
||
|
pass
|
||
|
|
||
|
foo(
|
||
|
a,
|
||
|
b)
|
||
|
|
||
|
if (a and
|
||
|
b):
|
||
|
pass
|
||
|
|
||
|
if (a
|
||
|
and b):
|
||
|
pass
|