FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-sandbox/src/pythonic_data_structures.py at master · akafael/python-sandbox · GitHub
akafael
/
python-sandbox
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-sandbox
/
src
/
pythonic_data_structures.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
7 lines (5 loc) · 195 Bytes
Breadcrumbs
python-sandbox
/
src
/
pythonic_data_structures.py
Copy path
File metadata and controls
7 lines (5 loc) · 195 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
# List Comprehensions
# Generate a list with square numbers from 0 to 10
squares
=
[
x
**
2
for
x
in
range
(
10
)]
# List with element that are not equal to 4
not4s
=
[
x
for
x
in
squares
if
x
!=
4
]
Back
|
FazBrowse Home
|
New Git URL