LogiQuest
Back to Lists
19

What is the output of the following code?

a = [3, 1, 2]
a.sort(reverse=True)
print(a)
Easy

Discussion (0)

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

Log in to join the discussion.