Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson1_4
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
65ce189c
authored
Jul 15, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
f95394b0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
star.py
yaoqinghan.py
邀请函
star.py
View file @
65ce189c
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
请使用turtle模块画出五角星
请使用turtle模块画出五角星
"""
"""
import
turtle
import
turtle
pen
=
turtle
.
Pen
()
pen
=
turtle
.
pen
()
pen
.
fillcolor
(
"black"
)
pen
=
pen
.
shape
(
"turtle"
)
pen
.
fillcolor
(
"red"
)
pen
.
begin_fill
()
pen
.
begin_fill
()
for
i
in
range
(
5
):
for
i
in
range
(
36
):
pen
.
forwar
d
(
200
)
forworl
d
(
200
)
pen
.
right
(
144
)
right
(
170
)
pen
.
end_fill
()
pen
.
end_fill
()
pen
.
hideturtle
()
pen
.
hideturtle
()
turtle
.
done
()
turtle
.
done
()
\ No newline at end of file
yaoqinghan.py
0 → 100644
View file @
65ce189c
name
=
input
(
"你叫什么名字:"
)
print
(
name
+
"你好啊,欢迎来到编程世界!"
)
user
=
input
(
"请输入账号"
)
pwd
=
input
(
"请输入密码"
)
print
(
"登陆成功"
)
\ No newline at end of file
邀请函
0 → 100644
View file @
65ce189c
name=input("你叫什么名字:")
name=input("你叫什么名字:")
\ 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