Vidyalelo
Python · Q85

MCQs for Python Strings: Exam

Programming · Python · question 85

Q85

What will be the output of the following Python code? print("ab ".expandtabs())

A.
ab         cd         ef
Answer
B.
abcdef
C.
ab\tcd\tef
D.
ab     cd     ef

Answer: Option A

Solution

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