Commit 09a63ef1 by BellCodeEditor

save project

parent 8a6dfd4c
Showing with 9 additions and 5 deletions
with open(r'C:\Users\MKJQR\Desktop\zxcvbnm.txt','r',encoding='utf-8')as file: with open(r'C:\Users\maku\Desktop\zxcvbnm.txt','r',encoding='utf-8')as file:
sb=file.readlines() sb=file.readlines()
for i in sb: for c in sb:
a=i.split() c=i.split()
print(a[1:]) hei=0
\ No newline at end of file for i in a[1:]:
hei=hei+int(i)
b=a[0]=' '+str(hei)
print(b)
\ 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