Commit 5afc9575 by BellCodeEditor

save project

parent 173d7cad
Showing with 4 additions and 2 deletions
...@@ -2,4 +2,6 @@ ...@@ -2,4 +2,6 @@
player = input("玩家请出拳") player = input("玩家请出拳")
print(player) print(player)
import random import random
list['石头','剪刀','布'] list=['石头','剪刀','布','钻头']
\ No newline at end of file computer = random.choice(list)
print(computer)
\ No newline at end of file
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