@PythonPr Left code: prints 3 (because {1,2,2,3} is a set, duplicates removed → {1,2,3})
Right code: SyntaxError (missing ))
If they meant to compare set vs dict, then {1:2, 2:3} would be a dict (needs ).
@PythonPr Is presenting a typo as a knowledge challenge seems pointless. Any IDE would automatically add the missing parentheses or flag it as missing. It’s a waste of time to even review these posts.