Q152
What will be the output of the following Python code? print('xyyzxxyxyy'.lstrip('xyy'))
A.
error
B.
zxxyxyy
AnswerC.
z
D.
zxxy
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board