LogiQuest
Back to Strings
22

What is the output of the following code?

print('a-b-c'.rsplit('-', 1))
Medium

Discussion (0)

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

Log in to join the discussion.