Commit a666a636 by BellCodeEditor

save project

parent e11026c7
Showing with 2 additions and 1 deletions
...@@ -2,7 +2,8 @@ import random ...@@ -2,7 +2,8 @@ import random
player=input("paper,scissors......(paper/scissors/rock)") player=input("paper,scissors......(paper/scissors/rock)")
print("player:"+player) print("player:"+player)
list=["paper","scissors","rock"] list=["paper","scissors","rock"]
ifcom=random.choice(list) if
com=random.choice(list)
print("computer:"+com) print("computer:"+com)
if player==com: if player==com:
print("We are the same.") print("We are the same.")
......
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