RecursionError: maximum recursion depth exceeded
Code written:

return get_energy(mass * c**2)

Error Message:
“File “”, 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