Question: python The following dictionary, atomicNumbers , has the atomic number of an element as the key and the element name as the value atomicNumbers =

python

  • The following dictionary, atomicNumbers, has the atomic number of an element as the key and the element name as the value

    atomicNumbers = {1:'H', 2:"He", 3: "Li", 4:"Be", 5:"B", 6:"C", 7: "N", 8:"O", 9:"F", 10:"Ne", 11:"Na", 12:"Mg", 13:"Al", 14:"Si", 15:"P", 16:"S", 17:"Cl", 18:"Ar"}

  • The following list, lifeElements, contains the atomic numbers essential for life

    lifeElements = [6,1, 8,7,15,16]

  • use a list comprehension to print out the names of the elements that are essential for life.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!