+ 1
Which brackets should we use in set, list, and tuple?
What are differences in them?
3 Respuestas
+ 1
Tuple -> ()
List -> []
Set/Dictionary -> {}
0
Could you explain the difference between these?
0
https://docs.python.org/3/tutorial/datastructures.html#tuples-and-sequences
https://docs.python.org/3/tutorial/datastructures.html#sets
https://docs.python.org/3/tutorial/datastructures.html#dictionaries