निम्नलिखित लाइन को कार्यात्मक बनाने के लिए कौन सा मॉड्यूल आयात किया जाना चाहिए?
Which module to be imported to make the following line functional ?
sys.stdout.write(“ABC”)
A
system
B
stdin
C
stdout
D
sys
Explanation
The correct module to import for using sys.stdout.write() is the sys module. This module provides access to some variables used or maintained by the interpreter, including stdout, which is used for writing output.
Correct answer:
(D) sys
Correct Answer: D) sys