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)
This question was addressed to me in a national level competition.
This key question is from Formatting topic in portion Formatting & Decorators of Python