Commit 88f6511a by BellCodeEditor

save project

parent fa017d67
Showing with 4 additions and 2 deletions
...@@ -2,4 +2,6 @@ ...@@ -2,4 +2,6 @@
import random import random
n=input('请输入:') n=input('请输入:')
print('玩家出拳',n) print('玩家出拳',n)
t=["石头","剪刀""布"] t=["石头","剪刀","布"]
\ No newline at end of file c=random.choice(t)
print('电脑出的是:',c)
\ 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