3 ms·
In Python it's x = sum(range(100000)). You might say that's cheating because there is a specific sum function, but having smart builtins covering common program
by giovannibajo1 11y ago
In Python it's x = sum(range(100000)). You might say that's cheating because there is a specific sum function, but having smart builtins covering common programming cases is exactly what an elegant language offers.