Commit 41f91eca by BellCodeEditor

save project

parent bed91e34
Showing with 6 additions and 2 deletions
import random
a=input('请出拳:剪刀,石头,布:') a=input('请出拳:剪刀,石头,布:')
print('我出:'+a) print('我出:'+a)
\ No newline at end of file sb=['剪刀','石头','布']
b=random.choice(sb)
print('机器人出拳:'+b)
\ 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