Q. What advantages do tuples have over lists?


Answer:-

Advantages of tuples over lists are following:-

1. Tuples have small memory size as compare to lists.
2. Tuples are immutable datatype so it can use in dictionary’s keys
3. Tuples have fixed size and fixed element.


Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post