Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson6-1
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
68d650c3
authored
Apr 28, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e8ac9a19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
diy.py
diy.py
View file @
68d650c3
...
@@ -4,10 +4,15 @@
...
@@ -4,10 +4,15 @@
bro1
=
"关羽"
bro1
=
"关羽"
bro2
=
"刘备"
bro2
=
"刘备"
bro3
=
"张飞"
bro3
=
"张飞"
#他们为了改变当今社会现状,在桃林结为了异姓兄弟(*╹▽╹*)。
bros
=
[
"刘备"
,
"关羽"
,
"张飞"
]
bros
=
[
"刘备"
,
"关羽"
,
"张飞"
]
bro1
=
[
"关羽"
,
160
,
8.5
]
bro1
=
[
"关羽"
,
160
,
8.5
]
#关羽生于160年,战斗值位居第二,是三个兄弟中最年长的一个。
bro2
=
[
"刘备"
,
161
,
9.1
]
bro2
=
[
"刘备"
,
161
,
9.1
]
#刘备生于161年,战斗值最高,按照年龄排在第二位。
bro3
=
[
"张飞"
,
166
,
8.3
]
bro3
=
[
"张飞"
,
166
,
8.3
]
#张飞生于166年,战斗值与年龄均排在第三。
#异姓结拜大多都是按年龄排行的:大哥关羽 二哥刘备 三弟张飞。但是如果按战斗力排行,刘备比关羽更胜一筹。所以关羽甘愿位居第二,将大哥之位让给刘备。
bros
[
0
]
=
"关羽"
bros
[
0
]
=
"关羽"
bros
[
1
]
=
"刘备"
bros
[
1
]
=
"刘备"
print
(
bros
)
print
(
bros
)
\ 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