📜  数字 python codewars 的乘法表 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:30.695000             🧑  作者: Mango

代码示例1
def multi_table(number):
    out = ""
    for num in range(1,11):
        out += (str(num) + " * " + str(number) + " = " + str(num * number ) + "\n")
    return out.strip()