Commit 234f0837 by BellCodeEditor

save project

parent 9204a048
def hello(name):
con="你好!"+name
return con
re=hello("xiao")
print(re)
a=open(r'D:\Desktop\nami.txt','w',encoding='utf-8')
a.write('sawfhfs')
a=open(r'D:\Desktop\nami.txt','r',encoding='utf-8')
\ No newline at end of file
...@@ -13,7 +13,7 @@ def nn(): ...@@ -13,7 +13,7 @@ def nn():
total.append(u) total.append(u)
finally: finally:
print('**************************************') print('**************************************')
print(total) return total
def sun(un): def sun(un):
cou=0 cou=0
for i in un: for i in un:
......
import func import func
d=func.nn() d=func.nn()
s=func.sun(d) s=func.sun(d)
print(s)
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