circuitpython/tests/internal_bench/loop_count-5.1-while_down_n...

11 lines
101 B
Python

import bench
def test(num):
zero = 0
while num != zero:
num -= 1
bench.run(test)