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

bellcode / lesson2-1-2_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
Switch branch/tag
  • lesson2-1-2_DIY1
  • star.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    auto save · 971b88ce
    BellCodeEditor committed a year ago
    971b88ce
star.py 204 Bytes
1 2 3 4 5 6 7 8 9
import random


player = input("请出拳(剪刀/石头/布")
print("玩家出拳:+player")
#电脑出拳
list = ["剪刀","石头","布"]
com = random.choices(list)
print("电脑出拳:"+com)