LogiQuest
Back to Strings
13

What is the output of the following code?

s = 'python'
print(s.capitalize(), s.center(10, '*'))
Medium

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.