pow求一个数的n次幂

1 #!/usr/bin/env python
2 i = pow(2,5)
3 #求一个数的n次幂
4 print(i)
C:\Python35\python3.exe F:/Python/2day/c6.py
32

Process finished with exit code 0

 

posted @ 2017-02-09 17:37  失落的黎明  阅读(282)  评论(0编辑  收藏  举报