本文介绍了在Python中实现指数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何编写一个程序,使用重复乘法计算a ^ b(a ** b)的值。不使用运算符(**)
我只知道如何使用**。
How to write a program that computes the value of a^b(a**b) using repeated multiplication. Without using the operator(**)
I only know how to do it with the **.
推荐答案
这篇关于在Python中实现指数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!