In Python set is unordered, But printing the numbers, it's giving the result is ordered.
Can anyone clarify this?
set2={10,11,12,13,14} print(set2)
O/P: {10, 11, 12, 13, 14}
In Python set is unordered, But printing the numbers, it's giving the result is ordered.
Can anyone clarify this?
set2={10,11,12,13,14} print(set2)
O/P: {10, 11, 12, 13, 14}