Computer Science, asked by Bharathnihan9418, 1 year ago

Why python returns tuple in list instead of list in list?

Answers

Answered by rishirajsharma197
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