Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Introduction [10/10]

This program produces a simple animation. The source code contains many unexplained features.
[Run the program]

Let's make some small changes to the source code.

Important:
All names are case-sensitive (purple is not PuRpLe nor Purple nor PURPLE).

Exercises:

1. Change the disc color to purple.
[Run the program]

2. In the source code of this program, the number 6 is the step of the for loop. Change the number 6 to number 2 in order to slow down the motion.
[Run the program]

Loading...