Where am i thinking wrong inkth root

where am i thinking wrong

Hello @goelsparsh277,

Mistake:
^ this is an xor operator not power.

I have corrected your code:

Hope, this would help.
Give a like if you are satisfied.