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
number=int(input(" "))
computer=int(random(0,10))
if number<computer:
print("small")
if number>computer:
print("big")
if number==computer:
print("win")
list = [0,1,2]
print(random.choice(list))
\ 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