Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson9_3
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
5a62c50c
authored
Feb 27, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
b4b7bf4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
11.py
diy3.py
11.py
0 → 100644
View file @
5a62c50c
city
=
[,
'纽约'
,
'华盛顿'
,
'桃源岛'
,
'洛杉矶'
,
'芝加哥'
,
'旧金山'
]
raise_
=
input
(
'你想去哪里呀'
)
if
raise_
in
city
:
print
(
'可以乘坐飞机通往'
raise_
)
else
:
print
(
'没有'
+
raise_
+
'这座城市'
)
\ No newline at end of file
diy3.py
View file @
5a62c50c
...
@@ -16,8 +16,8 @@ while True :
...
@@ -16,8 +16,8 @@ while True :
print
(
k
,
v
)
print
(
k
,
v
)
print
(
'*'
*
30
)
print
(
'*'
*
30
)
break
break
if
name
in
"p"
if
name
in
else
:
else
:
print
(
'输入错误'
)
print
(
'输入错误'
)
\ 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