Commit fc1384ea by BellCodeEditor

save project

parent dc70412a
import wss
wss.new_input()
\ No newline at end of file
def new_input():
aver=0
sum=0
list=[]
while True:
try:
a=int(input ("请输入分数"))
except:
break
list.append(a)
for i in list:
sum+=i
aver=sum/len(list)
print(aver)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment