Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

bellcode / lesson10-3

  • This project
    • Loading...
  • Sign in
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 229e7049 authored 4 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent 4fc7726d
Hide whitespace changes
Inline Side-by-side
Showing with 19 additions and 2 deletions
  • diy1.py
diy1.py
View file @ 229e7049
...@@ -32,4 +32,21 @@ while i<135: ...@@ -32,4 +32,21 @@ while i<135:
pen.left(2) pen.left(2)
i+=1 i+=1
turtle.done() turtle.done()
\ No newline at end of file
stonenumber=0
if stonenumber >= 4:
print('获得了打败灭霸的力量,反杀稳了')
elif 1<=stonenumber <= 3:
print('可以全员出动,殊死一搏')
else:
print('没办法了,只能尝试呼叫惊奇队长')
city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥','旧金山']
w=input('你想去哪里啊?')
if w in city:
print('可以乘坐飞机通往'+w)
else:
print('没有'+w+'这座城市')
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment