Page 1 of 1

Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) d.delete(“john”:40)
b) d.delete(“john”)
c) del d[“john”]
d) del d(“john”:40)