micropython/tests/internal_bench/loop_count-3-while_up.py

11 wiersze
92 B
Python

import bench
def test(num):
i = 0
while i < num:
i += 1
bench.run(test)