New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Whats the difference between sort() and sorted() ?
1 Answer
+ 2
sort is a a̶t̶t̶r̶i̶b̶u̶t̶e̶ method while sorted is a function. Both performs same task.
Bagon There's a mistake