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

9 lines
99 B
Python
Raw Normal View History

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