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

9 lines
99 B
Python

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