Question: Python : Write a function named ionization_energy that takes one argument, an integer n, and returns the absolute value of the n th

Python : Write a function named " ionization_energy " that takes one argument, an integer n, and returns the absolute value of the nth element of the " energy_levels " list

The list for energy levels:

energy_levels = [-13.6,-3.4,-1.51,-0.85,-0.54,-0.38,-0.28,-0.21,-0.17]

**this was appended using "energy_levels.append(-0.14)" earlier in the code**

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!