Commit 8e0e8884 by BellCodeEditor

save project

parent d5d3c853
Showing with 83 additions and 4 deletions
# for i in range(10): # # name=input("ming")
# print("wukong") # # cj=input("cja")
print("wukong","wukong","wukong","wukong","wukong","wukong","wukong","wukong","wukong","wukong",sep="\n") # # print(name+"dcjs"+cj)
\ No newline at end of file # zhou=input("zhoujia")
# if zhou == 1:
# print("Q")
# elif zhou == 3:
# print("bc")
# elif zhou == 6:
# print("YingYu")
# elif zhou == 2 or 4 or 5 or 7:
# print("gx")
# else:
# print("meiyou")
# import random
# name = input("name")
# a=["a",'d','f','g','h','tg','h','gt','h','tr','h','yrh']
# s=random.choice(a)
# print("ADGXCH"+name+"nm"+s)
# import turtle
# a=turtle.Pen()
# # a.left(135)
# # a.forward(100)
# # a.right(90)
# # a.circle(-50,180)
# a.right(180)
# a.forward(100)
# a.left(90)
# a.circle(50,180)
# a.hideturtle()
# turtle.done()
# import turtle
# a=turtle.Pen()
# a.pensize(5)
# a.pencolor("blue")
# a.circle(50)
# a.penup()
# a.goto(100,0)
# a.pendown()
# a.pencolor("black")
# a.circle(50)
# a.penup()
# a.goto(200,0)
# a.pendown()
# a.pencolor("red")
# a.circle(50)
# a.penup()
# a.goto(45,-90)
# a.pencolor("yellow")
# a.penup()
# a.goto(50,-90)
# a.pendown()
# a.circle(50)
# a.pencolor("green")
# a.penup()
# a.goto(145,-90)
# a.pendown()
# a.circle(50)
# turtle.done()
a = "python"
# print(list(a))
b=list(a)
print(str(b))
# c=str(b)
# print(type(c))
# print(len(c))
d=''.join(b) #(列表转字符串“”中每个字符间)
print(d)
\ No newline at end of file
import turtle
a=turtle.Pen()
a.pensize(350)
a.pencolor("green")
a.fillcolor("red")
a.begin_fill()
for i in range(6):
a.forward(351)
a.right(60)
a.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