Login and Register ×
Check your Email for the OTP
Python Programming Language MCQ Python Set MCQ
⚠ Report ✓ Question Verified Copy Link
aSet = {1, 'PYnative', ['abc', 'xyz'], True} print(aSet)
Explanation:
If you try to execute the above code you will get a TypeError: unhashable type: 'list'
TypeError: unhashable type: 'list'
Related Topic:
Share Above MCQ
Learn More MCQ Questions from Python Programming Language MCQ Python Set MCQ