top of page
Search

PYTHON CODING

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • Sep 11
  • 1 min read

def gen():

for i in range(3):

yield i * i

g = gen()

print(next(g))

print(sum(g))


[Running] python3 -u "/Users/name/test/test823.py"

0

5

[Done] exited with code=0 in 0.058 seconds


Try to verify it.
Try to verify it.












 
 
 

1 Comment


Guest
Sep 11

Try to solve it.

Like
bottom of page