我的 python 代码有一些 typeError 问题。我得到 int object is not iterable,我不知道为什么。我是个初学者。
# coding=utf8
def main():
numbers = input ("Enter numbers: ")
numbers = int(numbers)
list(numbers)
print ("\nNumbers (lowest): %s " % min(numbers))
print ("Numbers (all numbers) %s " % numbers)
print ("Numbers (highest): %s " % max(numbers))
print ("Numbers (mean value) %s " % sum // len(numbers))
print ("Numbers (summary) %s " % sum(numbers))
main()