Vidyalelo
Python · Q159

MCQs for Python Strings: Exam

Programming · Python · question 159

Q159

What will be the output of the following Python code? >>>print("D", end = ' ') >>>print("C", end = ' ') >>>print("B", end = ' ') >>>print("A", end = ' ')

A.
DCBA
B.
A, B, C, D
C.
D C B A
Answer
D.
D, C, B, A will be displayed on four lines

Answer: Option C

Solution

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