我非常简单的 python 函数在最后返回None,我不确定为什么。我看了一些其他的帖子,还是没明白。
None
这是我的代码:
def printmult(n): i = 1 while i <= 10: print (n * i, end = ' ') i += 1 print(printmult(30))
python function
function ×1
python ×1