Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson9_2
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
e3c1bb8c
authored
Sep 11, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e6bb9bb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
a.py
a.py
View file @
e3c1bb8c
a
=
[
'纽约'
,
'华盛顿'
,
'旧金山'
]
kimjk
=
input
(
'你想去哪里?'
)
if
kimjk
in
city
:
print
(
"你可以乘坐飞机前往"
+
kimjk
)
stonenumber
=
321
if
stonenumber
>=
4
:
print
(
'1'
)
elif
1
<=
stonenumber
<=
3
:
print
(
"2"
)
else
:
print
(
'没有'
+
kimjk
+
'这座城市'
)
\ No newline at end of file
print
(
'3'
)
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