print(f
'{pow(2,3)=}')
print(f
'{pow(10,2)=}')
print(f
'{2**3=}')
print(f
'{10**2=}')
import time
start
= time
.time
()
print(f
'{pow(1234,1234567,67) =}')
end
= time
.time
()
print(f
'{pow(1234,1234567) %67=}')
end
= time
.time
()
print(f
'{pow(2.0,3)=}')
print(f
'{pow(2,3)=}')
print(f
'{pow(2,-3)=}')
print(f
'{pow(2,3,0)=}')
更多学习内容请查看:https://edu.csdn.net/course/play/31010/459393
转载请注明原文地址: https://lol.8miu.com/read-2178.html