Quick actions

cmd+k|ctrl+k

Navigation

Languages

yield

Snippet info

Language

Python

Visibility

public

Author

complex.alpha.work

Created

2026-07-30T07:31:01.273202Z

Updated

2026-07-30T07:31:01.273202Z

def fun_generator():
	yield 1
	yield "String"
	yield 2
	yield "String2"


obj = fun_generator()


for a in obj:
    print(a)
INFO