Commit d8c27f9c by BellCodeEditor

auto save

parent 4cac003e
Showing with 44 additions and 3 deletions
import turtle
screen=turtle.Screen()
screen.textinput('姓名框','你的名字是')
turtle.done()
\ No newline at end of file
neme=input("输入名字")
print(neme+"你好啊")
\ No newline at end of file
import random
#玩家出拳
player=input('玩家请出拳:石头/剪刀/布')
print("玩家出拳:"+player)
#计算机出拳
list=['石头','剪刀','布']
computer=random.choice(list)
print('计算机出拳:'+computer)
player
computer
random.choice()
\ 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