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

11 lines
92 B
Python

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