Commit 5817f1f5 by BellCodeEditor

save project

parent 195b455e
Showing with 8 additions and 6 deletions
with open(r"C:\Users\Administrator\Downloads\12.zip","r",encoding='utf-8')
for i in file:
if "小强:10本" in i:
print("在文件里")
\ No newline at end of file
class Hero:
def __init__(self):
self.level=1
self.hp=300
self.attack=20
yase=Hero()
print(yase.level)
\ 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