This website requires JavaScript.
Explore
Help
Sign In
jebbatime
/
micropython
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
5b5562c1d1
micropython
/
tests
/
basics
/
for_return.py
8 lines
103 B
Python
Raw
Blame
History
# test returning from within a for loop
def
f
(
)
:
for
i
in
[
1
,
2
,
3
]
:
return
i
print
(
f
(
)
)
Reference in New Issue
View Git Blame
Copy Permalink