Vidyalelo
Python · Q25

Formatting and Decorators

Programming · Python · question 25

Q25

What is the output of the code: print(":<10".format("hello"))?

A.
"hello"
Answer
B.
"hello "
C.
"hell"
D.
"hello "

Answer: Option A

Solution

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