Commit e38ceaef by BellCodeEditor

save project

parent 5e91588e
Showing with 3 additions and 11 deletions
player=input(0/1/2)
print("玩家出拳"+player)
\ No newline at end of file
import random import random
number=int(input(" ")) list = [0,1,2]
computer=int(random(0,10)) print(random.choice(list))
if number<computer: \ No newline at end of file
print("small")
if number>computer:
print("big")
if number==computer:
print("win")
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