25 lines
448 B
Markdown
25 lines
448 B
Markdown
status: #doc #unfinished
|
|
Tags: : #python #programming
|
|
links:[[python]]
|
|
Date: 2023-05-04
|
|
___
|
|
# python one liners
|
|
|
|
## [[Python List Comprehension]] :
|
|
List comprehensions are a concise way to create lists in Python. They allow you to create a new list by specifying a set of conditions and transformations that are applied to each element of an existing list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
# References
|
|
https://wiki.python.org/moin/Powerful%20Python%20One-Liners
|
|
|
|
|