Vidyalelo
Python · Q83

MCQs for Python Strings: Exam

Programming · Python · question 83

Q83

What will be the output of the following Python code? print(''' '''.lstrip())

A.
\tfoo
B.
foo
Answer
C.
      foo
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board