def sub():
value = yield
yield f"got: {value}"
def main():
yield from sub()
g = main()
next(g)
print(g.send("hello"))
Post #2983
650
Что выведет код?