Explain yourself with reStructured Text, embedded code, graphs, charts, and LaTeX–style math.
Join Siafoo Now
or
Learn More
Browse
|
|
|
dictionary comprehensions | (1) |
|
|
generator expressions | (1) |
|
|
string | (1) |
|
|
list | (1) |
|
|
strings | (1) |
|
|
tips | (1) |
|
|
functions | (1) |
|
|
decorators | (1) |
|
|
map | (1) |
|
|
filter | (1) |
|
|
dictionaries | (1) |
|
|
tuple | (1) |
|
|
python | (1) |
|
|
truthfulness | (1) |
|
|
substrings | (1) |
|
|
recursive | (1) |
|
|
iterate | (1) |
|
|
classes | (1) |
|
|
tricks | (1) |
|
|
list operators | (1) |
|
|
lambda functions | (1) |
|
|
zip | (1) |
|
|
switch statements | (1) |
|
|
quotes | (1) |
|
|
list comprehensions | (1) |
| Showing 1 - 2 of 2 | Showing 1 - 2 of 2 |
Want to write shorter, cleaner code? Have an unfortunate situation where you need to fit as much as you can in one expression? Prefer a quick dose of hacks to spending the rest of your life...
Wraps python's reduce() function to work recursively, and on tuples, lists, or strings.
| Showing 1 - 2 of 2 | Showing 1 - 2 of 2 |