This website requires JavaScript.
Explore
Help
Sign In
Lephenixnoir
/
PythonExtra
Watch
1
Star
0
Fork
You've already forked PythonExtra
2
Code
Issues
9
Pull Requests
3
Projects
Releases
2
Wiki
Activity
53f2ac9017
PythonExtra
/
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