def fun(n): for i in range(n): yield ifor v in fun(5): print(v)ouput:01234 There's another paragraph def fun(n): for i in range(n): yield iprint(fun(5)) This paragraph should not come out 0, And then terminate ? But what came out was <generator object fun at 0x000001F4A1215970>