This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
9dd3640464
micropython
/
tests
/
basics
/
gen_yield_from_iter.py
9 lines
110 B
Python
Raw
Blame
History
def
gen
(
)
:
yield from
(
1
,
2
,
3
)
def
gen2
(
)
:
yield from
gen
(
)
print
(
list
(
gen
(
)
)
)
print
(
list
(
gen2
(
)
)
)
Reference in New Issue
View Git Blame
Copy Permalink