Commit 2bdfb570 by BellCodeEditor

save project

parent f990de14
Showing with 4 additions and 2 deletions
......@@ -3,6 +3,8 @@ a=film.readlines()
print(a)
for i in a:
dat=i.split()
print(dat[0])
print(dat[1:])
sum=0
for sales in dat[1:]:
sum=int(sales)+sum
film.close()
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