Vidyalelo
Python · Q57

Formatting and Decorators

Programming · Python · question 57

Q57

What will be the output of the following Python code snippet? X=”Exam-Veda” print(“%56s”,X)

A.
56 blank spaces before Exam-Veda
Answer
B.
56 blank spaces before Exam and Veda
C.
56 blank spaces after Exam-Veda
D.
no change

Answer: Option A

Solution

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