When do you use list vs. tuple vs. dictionary vs. set?

Submitted by: Administrator
List and Tuple are both ordered containers. If you want an ordered container of constant elements use tuple as tuples are immutable objects.
Submitted by: Administrator

Read Online Python Job Interview Questions And Answers