Which of the following calls to the sorted() function uses correct syntax?

Automate Cybersecurity Tasks with Python | Weekly challenge 2 Quiz | 

Which of the following calls to the sorted() function uses correct syntax?

  • sorted[73, 85, 532]
  • sorted([532, 73, 85])
  • sorted[(85, 523, 73)]
  • sorted():

 

Leave a Comment