circuitpython/tests/internal_bench/loop_count-5-while_down_ne.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
85 B
Python
Raw Permalink Normal View History

import bench
2021-03-15 09:57:36 -04:00
def test(num):
while num != 0:
num -= 1
2021-03-15 09:57:36 -04:00
bench.run(test)