Q. What will be the output of the following Python code?

Code:
print('*', "abcde".center(6), '*', sep='')
  • (A) * abcde *
  • (B) *abcde *
  • (C) * abcde*
  • (D) * abcde *
πŸ’¬ Discuss
βœ… Correct Answer: (B) *abcde *

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
314
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
97%
Success Rate