What is the expected output of the following code?

What is the expected output of the following code?
D. 1 is the answer
x="""""" print(len(x)) if you write like this the output will be 0
It is one because Python detects or considers the second line """ as a new line, which is \n. So, it's 1 character. Regularly, """...""" then it's empty, but once you press enter. It's \n a new line. So, Python takes it as 1 character. The result is 1.