Python Online Compiler & Playground
HTML/CSS/JavaScript
HTML
CSS
Javascript
C++
C
PHP
Java
Python
Swift
C#
Ruby
Node.JS
Kotlin
jQuery
Go
R
TypeScript
Start Python Course
Register
lambdas with list comprehension
0
Author: The future is now thanks to science
Dark
Public
Save
PY
py
1
2
3
4
tables =
[
lambda
x=x
:
x*
10
for
x
in
range
(
1
,
11
)]
for
table
in
tables
:
print
(
table
())
Enter to Rename, Shift+Enter to Preview
OUTPUT