Commit 1a2b1d11 by BellCodeEditor

save project

parent a54ad1cb
Showing with 9 additions and 7 deletions
with open(r"c:\Users\PC\Desktop\num.txt",'r',encoding="utf-8") as o: with open(r"c:\Users\PC\Desktop\num.txt",'r',encoding="utf-8") as o:
a=o.readlines() a=o.readlines()
print(a) for i in a:
for i in a: d=i.split()
print(i) c=d[1:]
# d=a.split(" ") e=d[0]
# c=a[1:] f=0
# print() for i in c:
\ No newline at end of file f+=int(i)
print(f)
\ 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