Q. What will be the output of the following Python code snippet?

Code:
z=set('abc$de')
'a' in z
  • (A) Error
  • (B) True
  • (C) False
  • (D) No output
πŸ’¬ Discuss
βœ… Correct Answer: (B) True

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
214
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
80%
Success Rate