import timeit
def while_loop(n=100_000_000): i = 0 s = 0 while i for loop 3.211570399813354 # => for loop with increment 4.602369500091299 # => for loop with test 4.18337869993411
2023年 7月 14日 45.1k 0
import timeit
def while_loop(n=100_000_000): i = 0 s = 0 while i for loop 3.211570399813354 # => for loop with increment 4.602369500091299 # => for loop with test 4.18337869993411