Commit 256e2181 by BellCodeEditor

save project

parent cbd76e4b
import random
stu=["李俊逸","林阳泰","宋腾洋"]
print(random.choice(stu))
\ No newline at end of file
import turtle
pen=turtle.Pen()
for i in range(1,6):
pen.forward(250)
pen.left(144)
turtle.done()
\ No newline at end of file
import random
a=random.randint(1,10000000)
print(a)
\ No newline at end of file
import random
list=["苹果","香蕉","奶茶","西瓜","哈密瓜","李松瑞"]
a=random.choice(list)
print(a)
import turtle
pen=turtle.Pen()
pen.right(144)
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.fillcolor("yellow")
pen.begin_fill()
pen.right(144)
pen.forward(100)
pen.right(144)
pen.forward(100)
pen.right(144)
pen.forward(100)
pen.right(144)
pen.forward(100)
pen.right(144)
pen.forward(100)
pen.end_fill()
turtle.done()
\ No newline at end of file
# 玩家出拳
player=input("石头/剪刀/布")
print('玩家出'+player)
\ No newline at end of file
print('玩家出'+player)
import random
n=["石头","剪刀","布"]
computer=random.choice(n)
print(computer)
\ 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