Doubt regarding Quiz ^

Are you sure all options are correct ? Because I think only 3rd one is correct ?

1 Like

@dsedyoda ,
Got an error for 1 and 2 as,

File "ff7d9d5a-222e-4a51-9d88-c2ad8832162a.py", line 292
    d.delete('john':40)
                   ^
SyntaxError: invalid syntax

and for 4

File "6423493b-5d9e-4a66-879d-41f1e0363225.py", line 292
    del d('john':40)
                ^
SyntaxError: invalid syntax

@kharshavardhan31

Yes , only 3 option is correct.