PYTHON CIRCLE
Practice
Python Books
Archive
Tools
Contact
Subscribe
Menu
Practice
Python Books
Archive
Tools
Contact
Subscribe
1000 Python Questions
Get 1 Python question daily. Join this telegram channel
https://t.me/python1000questions
Advertise with us
Python Multiple Choice Questions
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)
Show Answer
Next Question
Correct Answer:
D
Explanation: In order to add 'n' blank spaces after a given string 'S', we use the formatting option:("%-ns"%S).
SUBSCRIBE
Please subscribe to get the latest articles in your mailbox.
SUBSCRIBE
Please subscribe to get the latest articles in your mailbox.
© 2017-2020 Python Circle
Contact
Sponsor
Archive
Sitemap