This website requires JavaScript.
Explore
Help
Sign In
mibi88
/
PythonExtra
forked from
Lephenixnoir/PythonExtra
Watch
1
Star
0
Fork
You've already forked PythonExtra
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
main
PythonExtra
/
tests
/
micropython
/
native_while.py
14 lines
128 B
Python
Raw
Permalink
Blame
History
# test native while loop
@micropython.native
def
f
(
n
)
:
i
=
0
while
i
<
n
:
print
(
i
)
i
+
=
1
f
(
2
)
f
(
4
)
Reference in New Issue
View Git Blame
Copy Permalink