Commit 78079735 by BellCodeEditor

save project

parent 2a8c306a
Showing with 5 additions and 1 deletions
with open(r'c:\Users\Administrator\Desktop\jack.txt','r',encoding='utf-8')as jack:
a = jack.readlines()
sum = 0
for i in a:
data = i.split()
s = i.split()
for i in s:
sum = sum + int(i)
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