Examveda

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

A. 56 blank spaces before Exam-Veda

B. 56 blank spaces before Exam and Veda

C. 56 blank spaces after Exam-Veda

D. no change

Answer: Option A


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators