RecursionError: maximum recursion depth exceeded

https://www.codecademy.com/paths/computer-science/tracks/cspath-intro/modules/cspath-python-functions/projects/physics-class
Code written:

return get_energy(mass * c**2)

Error Message:
“File “script.py”, line 27, in get_energy
return get_energy(mass * c**2)
RecursionError: maximum recursion depth exceeded”

I checked on the video tutorial for this lesson and my code matches what I saw the instructor writing, so I cannot figure out why I am getting this error message

could you add you’re code ?

Are you sure your function should be calling itself?
And, have you read what the error message says? It does explain what happened. That’s what error messages are for, after all.

Thank you for replying. I solved it

Thanks, it is solved