error in this simple code

Why am i getting error in this simple code

please correct this error

Can you please share the link to the problem you are trying to solve? This will help me identify the mistake better and also prove that it is not part of some ongoing contest.

A few mistakes that I can spot are:

  1. In line 4, you haven’t closed all the brackets that you have opened.
  2. I’m not aware of any ‘power’ function in python. However there is one ‘pow’ function.