Commit 7549df7c by BellCodeEditor

save project

parent af406c84
Showing with 12 additions and 0 deletions
class Hero:
def__it__(self):
self.level=15
self.hp=800
self.attack=12460
yase=Hero()
print(yase)
a=['你好呀\n','我在贝尔编程学python\n']
with open(r'C:\Users\Administrator\Desktop\hello.txt','a',encoding='utf-8') as file:
file.writelines(a)
\ 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