```
class Solution(object):
def myPow(self, x, n):
"""
:type x: float
:type n: int
:rtype: float
"""
mult=1
for i in range(abs(n)):
mult=mult*x
if n<0:
return 1.0/mult
else:
return mult
```

I am a new beginner for Python. I do know this solution is the most inefficient way, but I just want to know what does the error MemoryError mean?

Thanks in advance.