Commit afafdc00 by BellCodeEditor

auto save

parent 32e82880
Showing with 15 additions and 1 deletions
...@@ -3,5 +3,15 @@ h=file.readlines() ...@@ -3,5 +3,15 @@ h=file.readlines()
#print(h) #print(h)
for i in h: for i in h:
print(i) date=i.split()
#print(date[1:])
sum=0
for sales in date[1:]:
sum=sum+int(sales)
result=date[0]+str(sum)
print(result)
a="今天下雨"
p=a.split()
print(p)
\ No newline at end of file
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