Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_1
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
953c4c75
authored
Jun 30, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
543aaaff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
11 deletions
123456789.py
func.py
123456789.py
0 → 100644
View file @
953c4c75
name
=
input
(
"你叫什么名字?"
)
print
(
name
+
"你好吗"
)
\ No newline at end of file
func.py
View file @
953c4c75
def
a
():
import
turtle
w
=
[]
pen
=
turtle
.
Pen
()
while
True
:
pen
.
penup
()
e
=
input
(
"输入价格"
)
pen
.
goto
(
0
,
-
200
)
if
e
==
"q"
:
pen
.
pendown
()
break
pen
.
circle
(
200
)
else
:
pen
.
penup
()
w
.
append
(
e
)
pen
.
goto
(
-
100
,
50
)
print
(
w
)
pen
.
pendown
()
a
()
pen
.
fillcolor
(
"red"
)
\ No newline at end of file
pen
.
begin_fill
()
pen
.
circle
(
20
)
pen
.
end_fill
()
pen
.
penup
()
pen
.
fd
(
200
)
pen
.
pendown
()
pen
.
fillcolor
(
"green"
)
pen
.
begin_fill
()
pen
.
circle
(
20
)
pen
.
end_fill
()
pen
.
penup
()
pen
.
goto
(
0
,
50
)
pen
.
pendown
()
pen
.
circle
(
-
50
,
steps
=
3
)
pen
.
penup
()
turtle
.
done
()
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