Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python_study
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Minseong Kwon
python_study
Commits
d9181841
Commit
d9181841
authored
6 years ago
by
Minseong Kwon
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
3d3938f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
원을 반복하여 그리기.py
+20
-0
20 additions, 0 deletions
원을 반복하여 그리기.py
with
20 additions
and
0 deletions
원을 반복하여 그리기.py
0 → 100644
+
20
−
0
View file @
d9181841
import
turtle
as
t
t
.
pensize
(
1
)
t
.
shape
(
"
turtle
"
)
n
=
50
#원을 50개 그린다
t
.
bgcolor
(
"
black
"
)
t
.
color
(
"
green
"
)
t
.
speed
(
0
)
#거북이가 그리는 속도를 가장 빠르게 정한다
for
x
in
range
(
n
):
#n번을 반복
t
.
circle
(
60
)
#현재 위치에서 반지름인 60인 원을 그린다
t
.
left
(
360
/
n
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment