Q.

Which of the following formatting options can be used in order to add „n‟ blank spaces after a given string „S‟?

A. print(“-ns”%S)
B. print(“-ns”%S)
C. print(“%ns”%S)
D. print(“%-ns”%S)
Answer» D. print(“%-ns”%S)
1k
0
Do you find this helpful?
5

View all MCQs in

Python Programming

Discussion

No comments yet