Commit c5e3bba8 by BellCodeEditor

save project

parent 8b386f2e
Showing with 3 additions and 2 deletions
...@@ -2,4 +2,5 @@ a=input('请出:剪刀/石头/布') ...@@ -2,4 +2,5 @@ a=input('请出:剪刀/石头/布')
print('玩家出:'+a) print('玩家出:'+a)
import random import random
list=['剪刀',"石头",'布'] list=['剪刀',"石头",'布']
b= b=random.choice(list)
\ No newline at end of file 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