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
75708c5a
authored
May 12, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
82c837ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
diy.py
diy.py
View file @
75708c5a
...
@@ -12,7 +12,10 @@ bro2=["刘备",161,9.1]
...
@@ -12,7 +12,10 @@ bro2=["刘备",161,9.1]
#刘备生于161年,战斗值最高,按照年龄排在第二位。
#刘备生于161年,战斗值最高,按照年龄排在第二位。
bro3
=
[
"张飞"
,
166
,
8.3
]
bro3
=
[
"张飞"
,
166
,
8.3
]
#张飞生于166年,战斗值与年龄均排在第三。
#张飞生于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