Please enable JavaScript to use CodeHS

AP Computer Science Principles in Python

Lesson 3.7 Using Graphics in Python

Description

In this lesson, students will learn the basics of creating graphics objects. Graphic creation relies on setting the type, shape, size, position, and color on the artist’s canvas before adding to the screen. Using geometric concepts, multiple graphic objects can be created in Python.


Objective

Students will be able to:

  • Create graphical Python programs that draw shapes on the canvas
  • Locate points on the graphics canvas using (x, y) coordinates