circuitpython/tests/internal_bench/loop_count-4-while_down_gt.py

8 lines
82 B
Python

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