Collection | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Collection

What is the difference between ordered and unordered collections in python?

12th May 2024, 3:25 PM
Raine04
Raine04 - avatar
4 Answers
12th May 2024, 4:16 PM
Lothar
Lothar - avatar
+ 2
Google It
12th May 2024, 3:45 PM
A͢J
A͢J - avatar
+ 2
Ordered collections maintain the order of elements, unordered collections do not. Unordered collections automatically remove duplicates, ordered collections do not. Ordered collections access elements by their index, unordered collections do not.
12th May 2024, 8:35 PM
Chris Coder
Chris Coder - avatar
0
Ok
15th May 2024, 4:00 PM
Raine04
Raine04 - avatar