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 & Answers › Category: Programming Language › What is the output of the following code? def stringDisplay(): while True: s = yield print(s*3) c = stringDisplay() next(c) c.send('Hi!!') 0 Vote Up Vote Down Adam asked 3 years ago What is the output of the following code?def stringDisplay(): while True: s = yield print(s*3) c = stringDisplay() next(c) c.send('Hi!!') a. TypeError b. Hi!!Hi!!Hi!! c. Hi!!Hi!!Hi!! d. Hi!!Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...1 Answers 0 Vote Up Vote Down Lokesh Kumar Staff answered 3 years ago b. Hi!!Hi!!Hi!!Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...