FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pyt/examples/example_inputs/comprehensions.py at master · jackcoolpython/pyt · GitHub
jackcoolpython
pyt
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pyt
/
examples
/
example_inputs
/
comprehensions.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
6 lines (6 loc) · 225 Bytes
Breadcrumbs
pyt
/
examples
/
example_inputs
/
comprehensions.py
Copy path
File metadata and controls
6 lines (6 loc) · 225 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
l
=
[
x
for
x
in
[
1
,
2
,
3
]]
ll
=
[(
x
,
y
)
for
x
in
[
1
,
2
,
3
]
for
y
in
[
4
,
5
,
6
]]
d
=
{
i
:
x
for
i
,
x
in
enumerate
([
1
,
2
,
3
])}
s
=
{
x
for
x
in
[
1
,
2
,
3
,
2
,
2
,
1
,
2
]}
g
=
(
x
for
x
in
[
1
,
2
,
3
])
dd
=
{
x
+
y
:
y
for
x
in
[
1
,
2
,
3
]
for
y
in
[
4
,
5
,
6
]}
Back
|
FazBrowse Home
|
New Git URL