CPSC120
Fundamentals of Computer Science

In-class Activity 13

  1. In Circle

    Create a Python program that draws a large circle that fills the majority of the window and a small dot at a random location in the window. The program should also draw text that specifies whether the center of the dot is inside or outside the circle. Condsider exactly on the edge of the circle as inside the circle.

  2. In Circle Count

    Create a Python program that draws a large circle that fills the majority of the window and a specified number of small dots at random locations in the window. The program should also draw text that specifies how many of the dots are inside the circle.