Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson15_test1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ca82af7f
authored
Dec 23, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
3a394bdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
diy-test1.py
diy-test1.py
View file @
ca82af7f
...
@@ -7,10 +7,10 @@ class Cat:
...
@@ -7,10 +7,10 @@ class Cat:
self
.
skin
=
"black"
self
.
skin
=
"black"
def
run
(
self
):
def
run
(
self
):
print
(
"
小
"
)
print
(
"
中国小鼠
"
)
def
skill
(
self
,
kun
):
def
skill
(
self
,
kun
):
print
(
"
小猫抓住"
+
kun
+
",小鼠开启了崇焕模式,对小猫进行了毁灭性重创,约1亿古戈尔的伤害,小猫当场阵亡
,地球都没了,宇宙轰了个大窟窿"
)
print
(
"
日本小猫抓住"
+
kun
+
",中国小鼠开启了崇焕模式,对小猫进行了毁灭性重创,约1亿古戈尔的伤害,小猫当场趋势
,地球都没了,宇宙轰了个大窟窿"
)
role
=
Cat
()
role
=
Cat
()
role
.
skill
(
"小鼠"
)
role
.
skill
(
"小鼠"
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment