Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_5
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
aa81c5a5
authored
3 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
da0c5208
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
func.py
func.py
View file @
aa81c5a5
def
caidan
():
total
=
[]
while
True
:
try
:
unit
=
int
(
input
(
"请输入:"
))
if
unit
==
'q'
:
break
else
:
total
.
append
(
unit
)
except
:
print
(
"你就是SB,TMD,非得搞特殊"
)
print
(
total
)
caidan
()
print
(
total
)
\ No newline at end of file
import
turtle
pen
=
turtle
.
pen
()
pen
.
write
(
“嗨,诺依
~
\
n
用
python
写电子贺卡真是太有趣了
~
\
n
我也喜欢
python
~
\
n
悟空
",font=(times"
,
20
,
"nomal"
))
pen
.
hidetutle
()
pan1
.
tutle
.
pen
()
pan
.
pancolor
(
"red"
)
pan1
.
pensize
(
5
)
pan1
.
left
(
45
)
pan1
.
foreard
(
100
)
pan1
.
circle
(
50
,
180
)
pen1
.
right
(
90
)
pan1
.
circle
(
50
,
180
)
pan1
.
foreard
(
100
)
pan1
.
hidetutle
()
turtle
.
done
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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