See usage statement, it's pretty straightforward: you specify a base between 2 and 36, inclusive, (default: 10) and any number of non-negative integers in that base to multiply together, and you will ...
# using Python. We use two approaches... we create a function to find the # product of all the numbers in the list, and we use the numpy function prod() # to do the same.
开始报错:can't multiply sequence by non-int of type 'float' 原因:input()函数输入的是字符串格式,所以自己在键盘输入的整数其实并不是正整数,而是字符串形式。所以在执行语句num3=num*num会报错。因为num1和num2都是字符串形式,不可以相乘。 解决思路:把num1和num2 ...