(continued from previous pagemsg rxmsg(next(msgm msg send("hello"print( message ackhello next(msgtraceback (most recent call last)file "rectangle py"line in next(msgstopiterationthanks msg send("world"print( 'yield fromcommand when yield from is usedit treats the supplied expression as subiterator all values produced by that subiterator are passed directly to the caller of the current generator' methodsgeneratorex py def chain(xy)yield from yield from [ [ for in chain(ab)print(iend=' print(for in chain(chain(aa)chain(ba))print(iend=' generators