A

Admin • 833.24K Points
Coach

Q. Which operator is used to check if a value exists in a list?

  • (A) ==
  • (B) is
  • (C) in
  • (D) has
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Use 'in' to check for membership in a list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.