Commit bace62b6 by BellCodeEditor

save project

parent 4d67ec31
Showing with 23 additions and 0 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player)
\ No newline at end of file
#数据类型 整数:int 2 浮点数:float 0.05 字符串:str "KUNI"
#if (条件):条件:成立和不成立 布尔值:bool ture
# 条件成立执行的内容
#while Ture: while a<5:
# a=a+1 b=b+1
a="520"
print(a+1)字符串
import turtle
ink = input("什么色?")
pen = turtle.Pen()
pen.fillcolor(ink)
pen.begin_fill()
for i in range(5):
pen.forward(200)
pen.right(144)
pen.end_fill()
turtle.done()
\ 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