top of page
Search

PYTHON CODING

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • 1 day ago
  • 1 min read

def early_exit():

for i in range(10):

if i > 3:

return

yield i

print(list(early_exit()))


[Running] python3 -u "/Users/name/tast/test83.py"

[0, 1, 2, 3]

[Done] exited with code=0 in 0.055 seconds

Try to run it.
Try to run it.

















 
 
 

1 comentário


Convidado:
a day ago

Try to run it.

Curtir
bottom of page