Vidyalelo
Python · Q48

MCQs for Python Strings: Exam

Programming · Python · question 48

Q48

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

A.
ab+cd+ef
B.
ab++++++++cd++++++++ef
C.
ab     cd     ef
D.
none of the mentioned
Answer

Answer: Option D

Solution

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