Fun Python question

This commit is contained in:
Ian Gulliver
2019-04-15 03:59:09 +00:00
parent fdae596016
commit c1b1620e8b
4 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<!--# set var="title" value="Fun Python question" -->
<!--# set var="date" value="May 17, 2012" -->
<!--# include file="include/top.html" -->
What does this do?
def func():
print 'foo'
return
yield 'bar'
print func()
Take a guess, then give it a try.
<!--# include file="include/bottom.html" -->