Commit 25667e4c by BellCodeEditor

auto save

parent d02511bc
Showing with 8 additions and 3 deletions
with open(r'c:\Users\86130\Desktop\text.txt','r',encoding='utf-8') as en:
a=en.readlines()
for i in a:
asdasfa=i.strip()
print(asdasfa[3:])
\ No newline at end of file
fa=i.split()
# print(fa[1:])
assss = 0
for asd in fa[1:]:
assss = assss+int(asd)
print(assss)
\ 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