Skip to content

Commit 4a9dcde

Browse files
authored
Create pow.py
1 parent 6b44b2e commit 4a9dcde

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

LeetCode/pow.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class Solution(object):
2+
def myPow(self, x, n):
3+
pow=x**n
4+
return pow

0 commit comments

Comments
 (0)