Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson10-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
41567fd1
authored
Mar 16, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
9c4fa246
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
9 deletions
adrd.py
area.py
ggoonbby.py
阿巴巴巴。py
adrd.py
0 → 100644
View file @
41567fd1
for
i
in
range
(
1
,
8
):
print
(
"阿里巴巴与野猪佩奇"
)
if
i
==
5
:
break
print
(
'最后,阿里巴巴地狗狗被野猪佩奇给顶屎了,阿里巴巴很开心。'
)
area.py
View file @
41567fd1
# 假期到了,诺依想出去玩,但不知道有没有飞机直达那里,
city
=
[
'纽约'
,
'华盛顿'
,
'桃源岛'
,
'洛杉矶'
,
'芝加哥'
,
'旧金山'
]
# 悟空做了个小程序帮助诺依,然而代码出现了3处错误。
raise
=
input
(
'你想去哪里啊?'
)
# 请你找出来,并运行~
if
raise
in
city
:
city
=
[
'纽约'
,
'华盛顿'
,
'桃源岛'
,
'洛杉矶'
,
'芝加哥'
,
旧金山
]
print
(
'可以乘坐飞机通往'
+
r
)
raise
=
input
(
'你想去哪里啊?'
)
if
raise
in
city
print
(
'可以乘坐飞机通往'
+
raise
)
else
:
else
:
print
(
'没有'
+
raise
+
'这座城市'
)
print
(
'没有'
+
r'这座城市'
)
\ No newline at end of file
\ No newline at end of file
ggoonbby.py
0 → 100644
View file @
41567fd1
score
=
{
'悟口语文'
:
0.5
,
'悟口数学'
:
10
,
'悟口英语'
:
2
,
'悟口美术'
:
5
,}
print
(
score
[
'悟口美术'
])
print
(
score
[
5
])
print
(
'悟口英语'
+
str
(
score
[
'悟口英语'
])
+
'分!'
)
阿巴巴巴。py
0 → 100644
View file @
41567fd1
score =
score =
\ 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