【发布时间】:2015-05-23 15:29:23
【问题描述】:
我收到错误“Unorderable Types: int()
end = input('enter total numbers:')
int(end)
total = 0
float(total)
number = 0
float(number)
while number < end:
add = input('enter number to add:')
total = total + add
number = number + 1
print (total / end)
【问题讨论】:
-
如果Martjin的回答有帮助,你应该考虑接受它。
标签: python python-3.x