CodeLab Solution 51824




CS101 CodeLab Solutions

CodeLab Solution 51824

The variable planet_distances is associated with a dictionary that maps planet names to planetary distances from the sun. Write a statement that deletes the entry for the planet name “Pluto”.

[cc lang=”PYTHON”] del(planet_distances[“Pluto”])
[/cc]


No Comments Yet.

Leave a comment

You must be Logged in to post a comment.