diff --git a/diy1.py b/diy1.py index aae4e9e..2628f39 100644 --- a/diy1.py +++ b/diy1.py @@ -1,3 +1,6 @@ -# 玩家出拳 +import random# 玩家出拳 player=input("please play with the computer:stone/jiandao/bu") -print("your ansuer is"+player) \ No newline at end of file +print("your ansuer is"+player) +list=('shitou/jiandao/bu') +com=random.choice(list) +print("com is,"+com) \ No newline at end of file