From 5817f1f57385dba04451c65c1489fc39fbd0b019 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Mon, 2 May 2022 09:17:43 +0800
Subject: [PATCH] save project

---
 diy.py | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/diy.py b/diy.py
index 221d540..fe1f9f3 100644
--- a/diy.py
+++ b/diy.py
@@ -1,5 +1,7 @@
-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
--
libgit2 0.25.0