Commit 28aa1c31 by BellCodeEditor

auto save

parent 12677dcc
Showing with 27 additions and 0 deletions
def add (x,y):
z = x + y
print("z的值为:",z)
#return z
add(8,7)
hello(r'C:\Users\777\Desktop\text.txt,'w''dencodingutf-8')
\ No newline at end of file
yr=(r'C:\Users\777\Desktop\text.txt,'w'encoding='utf-8')
yr.write('luckyshixiaozhu')
yr.close()
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