Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson16_3
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8e0e8884
authored
Feb 12, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d5d3c853
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
4 deletions
diy1.py
sdsae2.py
diy1.py
View file @
8e0e8884
# 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
sdsae2.py
0 → 100644
View file @
8e0e8884
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment