Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson16_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
6e91aad8
authored
Sep 21, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
beb166ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
111.py
tjc.py
111.py
0 → 100644
View file @
6e91aad8
import
turtle
import
random
t
=
turtle
.
Turtle
t
.
penup
()
t
.
goto
(
-
200
,
0
)
text
=
"你好,我的名字叫小酷"
for
char
in
random
.
randint
(
10
,
30
):
text_color
=
(
random
.
random
(),
random
.
random
(),
random
.
random
())
t
.
color
(
text_color
)
t
.
pendown
()
t
.
write
(
char
,
font
=
(
"Arial"
,
font_size
,
"normal"
))
jump_distance
=
random
.
randint
(
20
,
50
)
t
.
penup
()
t
.
forward
(
jump_distznce
)
\ No newline at end of file
tjc.py
0 → 100644
View file @
6e91aad8
name
=
123
word
=
"你好"
print
(
type
(
name
))
\ 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