Vidyalelo
Python · Q134

MCQs for Python Strings: Exam

Programming · Python · question 134

Q134

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

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

Answer: Option D

Solution

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