Commit 37594319 by BellCodeEditor

auto save

parent 3cea72ce
Showing with 16 additions and 0 deletions
aa = ['fkhsdfkjdjfdjf','dsldfjl/sfj','sdfsfjj']
with open('ff.txt',"w",encoding="utf-8") as a:
a.writelines(aa)
with open('ff.txt',"r",encoding="utf-8") as b:
b.readlines(aa)
print(b)
\ No newline at end of file
content = "13,15,21,9,14,22"
new_content = content.split(",")
s =0
for i in new_content:
s = s+int(i)
print(s)
\ No newline at end of file
fkhsdfkjdjfdjfdsldfjl/sfjsdfsfjj
\ 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