If entered name is sanfoundry
A. sanfoundry
B. sanfoundry, sanfoundry
C. San
D. None of the mentioned
Answer:A
If entered name is sanfoundry
A. sanfoundry B. sanfoundry, sanfoundry C. San D. None of the mentioned
Explanation: In order to work with standard I/O streams, we must import the sys module. The read() method reads one character from the standard input. In our example we get a promt saying “Enter your name”. We enter our name and press enter. The enter key generates the new line character: \n.