Save this video free

Python (Fall 2026) Module 2-5: S1 Sandbox Challenge

Bill Moseley, Ph.D. - Computer Science Educator · 11:26 · Watch on YouTube

Part of Bakersfield College COMP B10. See all 47 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Bill Moseley introduces Python’s turtle module, a Logo-inspired drawing tool, to practice importing modules, issuing movement commands, and using variables. He builds a square with four 70-pixel sides, then shows how a variable and integer conversion of user input make the drawing size configurable.

Key takeaways

Chapters

0:00 Importing Python Turtle and Drawing a Circle
2:19 Drawing a Square with Turtle Commands and a Side-Length Variable
6:47 Using Input and int() to Set the Square’s Size

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:01 So that brings us to today's sandbox  challenge. And for the sandbox challenge today, I'm going to introduce you to something called  the turtle module in Python. And turtle is based on something called Logo, which was created in  the 1970s. And the reason it's called a turtle is because the original version of this  actually had a physical robotic turtle. It was like this big, that you could program  to draw lines on a giant piece of paper. And they used it to teach kids  math, but programming with turtle gives us a lot of really interesting  capabilities. So let's introduce that. I'm going to show you where to get to this.  You don't have to do it right now, but I'm

0:52 just going to walk you through it. Obviously,  it'll be on the video and uploaded to the class. So on most of our sandbox challenges, there's  a lot of step-by-step instructions. And that's kind of on purpose. Usually it'll start out with  a very step-by-step copy this or retype the code. Sometimes you copy and paste it, sometimes you  retype it. It kind of depends on what you want to do. Sometimes it is useful to retype code  by looking at it, because it gets you used to typing different commands and how they're put  together. Sometimes copy and paste is just fine. But it'll explain how this code works.  And so this is our first basic program. And so I am going to run this in PyCharm. You  will not be able to run this in online Python

1:46 because it requires an external module,  and that's beyond the capabilities there. So I'm going to create a new PyCharm file here,  and I'm just going to show you how this works. So I'm going to create a new file

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Bill Moseley, Ph.D. - Computer Science Educator.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.