Commit 2d92c546 by BellCodeEditor

save project

parent a2d6601f
Showing with 3 additions and 2 deletions
...@@ -2,4 +2,5 @@ piase=input("石头/剪刀/布") ...@@ -2,4 +2,5 @@ piase=input("石头/剪刀/布")
print("玩家出拳:"+piase) print("玩家出拳:"+piase)
import random import random
list=["石头,剪刀,布"] list=["石头,剪刀,布"]
compute = random.cnoice() compute = random.cnoice(list)
\ No newline at end of file print("计算机出拳:"+compute)
\ 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