def pow(self, x, n):
What does this teach people? "LEARN PYTHON!"?
But seriously, I am a python user, and it took me 5 minutes to realize what the point is of this problem.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.