Why python returns tuple in list instead of list in list?
Answers
Answered by
2
Tuples are fixed size in nature whereas lists are dynamic. In other words, a tuple is immutable whereas a list is mutable. You can't add elements to a tuple. Tuples have no append or extend method
Similar questions