Commit a6908955 by BellCodeEditor

auto save

parent 27308b65
Showing with 11 additions and 5 deletions
for i in range(1,10):
for j in range(1,i+1):
print(i,'x',j,'=',i*j,end='|')
print()
\ No newline at end of file
a=3
b='sdafsadf'
print("sklfjs{:2}\tlsdlkafj{}".format(a,b))
\ No newline at end of file
c=["北京","上海","广州","深圳"]
with open(r"C:\Users\Administrator\Desktop\pp.txt",'w',encoding='utf-8') as f:
f.write(','.join(c))
with open(r"C:\Users\Administrator\Desktop\pp.txt",'r',encoding='utf-8') as k:
tt=k.read().strip('\n').split(',')
print(tt)
\ 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