python-small-examples/md/11.md at master · data-python/python-small-examples

Skip to content

Navigation Menu

Sign in

Appearance settings

Latest commit

File metadata and controls

14 lines (11 loc) · 172 Bytes

@author jackzhenguo
@desc 
@date 2019/2/15

11 次幂

base为底的exp次幂,如果mod给出,取余

In [1]: pow(3, 2, 4)
Out[1]: 1