micropython/tests/internal_bench/loop_count-3-while_up.py

9 lines
90 B
Python

import bench
def test(num):
i = 0
while i < num:
i += 1
bench.run(test)