diff --git a/diy1.py b/diy1.py index 34df680..e69de29 100644 --- a/diy1.py +++ b/diy1.py @@ -1,11 +0,0 @@ -import random -wj=input("快出sb(石头\剪刀\布):") -print("sb:",sb ) -cq=["石头","剪刀","布"] -computer=random.choice(cq) -print(computer) -if sb=computer: - print("平局") -elif (sb=="石头" and computer=="剪刀") or (sb==""剪刀"" and computer=="布")or (sb=="布" and computer=="石头") -else: - print("") \ No newline at end of file