0

What is the difference between frozenset and tuple?

what is the difference and which one is better?

7th Sep 2018, 11:24 AM
Sketch
Sketch - avatar
1 Answer
+ 8
a = frozenset((1,2,3,3)) b = (1,2,3,3) print(a, b) # {1, 2, 3} / (1, 2, 3, 3)
7th Sep 2018, 11:46 AM
Mert Yazıcı
Mert Yazıcı - avatar