LogiQuest
Back to Strings
1

What is the output of the following code?

s = 'Python'
print(s[0], s[-1], s[1:4])
Easy

Discussion (0)

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

Log in to join the discussion.