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

bellcode / lesson2-3-1_DIY1

  • 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 70d1690e authored 4 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 8dbbe69c
Show whitespace changes
Inline Side-by-side
Showing with 7 additions and 3 deletions
  • hgjhg.py
hgjhg.py
View file @ 70d1690e
......@@ -5,9 +5,12 @@ zhizhang=random
list=["剪刀","石头","布"]
zhizhang=random.choice(list)
print("电脑输入"+zhizhang)
if shabi==zhizhang:
if shabi in list:
if shabi==zhizhang:
print("平局")
elif (shabi=="石头"and zhizhang=="布")or(shabi=="布" and zhizhang=="石头" )or(zhizhang=="剪刀"and zhizhang=="布"):
elif (shabi=="石头"and zhizhang=="布")or(shabi=="布" and zhizhang=="石头" )or(zhizhang=="剪刀"and zhizhang=="布"):
print("你赢了")
else:
else:
print("你输了")
else:
print("你妈死了,他妈的重新搞")
\ 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