Advertisement
Dprogrammed1

python que 28

Jun 10th, 2019
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.06 KB | None | 0 0
  1. def f(x):
  2.     yield x+1
  3.     print("test")
  4.     yield x+2
  5. g=f(9)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement