Back
Syntax
Study
Editor
Mode:
HTML
CSS
JavaScript
PHP
Reset
Run »
HTML / CSS / JS
total = sum(x**2 for x in range(1000000)) print(total) # No list created — computed on-the-fly
Result
Open