If you create a tuple in a program and simultaneouly create a list in second program. Then which one will be faster?
Execution will be delayed just by some micro seconds, but which has better performance and faster and why?
Answer is: TUPLE
Explaination:-
Unlike the tuple, which has static properties, the list is dynamic. Due to their static nature, tuples are faster than lists since lists can be updated, but they cannot.