Personal website
Rudolf Adamkovič
Home
/
Python
/
List comprehension
Example with
if
[x
*
10
for
x
in
[1, 2, 3, 4, 5]
if
x
%
2
==
0]
[20, 40]
© 2025
Rudolf Adamkovič
under
GNU General Public License
version 3.
Made with
Emacs
and secret alien technologies of yesteryear.