Computer Science, asked by sonu4335, 1 year ago

Given that python lists and python tuples are quite similar - when might you prefer to use a tuple over a list?

Answers

Answered by kehsan
0

Answer:

You can then use this as a key in a dictionary to store notes on locations. ... In a statically typed language like Haskell the values in a tuple generally have different types and the length of the tuple must be fixed. ... So the difference is very obvious

Explanation:

Answered by Anonymous
0

Answer:

you can then use this as a key in a dictionary to store notes on locations. ... In a statically typed language like Haskell the values in a tuple generally have different types and the length of the tuple must be fixed. ... So the difference is very obvious

Similar questions