What is the output of the following code ? def stringDisplay(): while True: s = yield print(s*3) c = stringDisplay() next(c) c.send(‘Hi!!’)
Questions › Category: Python 3 › What is the output of the following code ? def stringDisplay(): while True: s = yield print(s*3) c = stringDisplay() next(c) c.send(‘Hi!!’)