Question
What is the output of this code?import syseval(sys.stdin.readline())"India"
Answer: Option D
Was this answer helpful ?
The function shown above evaluates the input into a string. Hence if the input entered is enclosed in double quotes, the output will be enclosed in single quotes. Therefore, the output of this code is 'India'.
Was this answer helpful ?
Submit Solution