mirror of
https://github.com/python/cpython.git
synced 2025-09-23 08:53:45 +00:00
gh-125665: Update turtledemo docstrings with correct file names (#125691)
Co-authored-by: Wulian <xiguawulian@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
6f26d496d3
commit
9c01db40aa
20 changed files with 32 additions and 86 deletions
|
@ -1,6 +1,4 @@
|
|||
"""
|
||||
|
||||
sorting_animation.py
|
||||
"""turtledemo/sorting_animation.py
|
||||
|
||||
A minimal sorting algorithm animation:
|
||||
Sorts a shelf of 10 blocks using insertion
|
||||
|
@ -10,9 +8,6 @@ Shelves are implemented using builtin lists.
|
|||
|
||||
Blocks are turtles with shape "square", but
|
||||
stretched to rectangles by shapesize()
|
||||
---------------------------------------
|
||||
To exit press space button
|
||||
---------------------------------------
|
||||
"""
|
||||
from turtle import *
|
||||
import random
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue