Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which Python data structure is ordered, mutable and allows duplicates?

  1. A tuple
  2. B list
  3. C set
  4. D frozenset
Answer

list

Lists are ordered and mutable. Tuples are immutable, and sets are unordered and reject duplicates.

All Python MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as