Cassignm222 Assignment 2 features designing a program using pseudocode and then completing the program in Python using a list. M4Lab2 asks you to write a Drawing app in Python and Pygame using a list for the colors. Each lab asks you to write pseudocode that plans the program's logic before you write the program in Python and to turn in three things: 1) the pseudocode, 2) a screenshot of the output, and 3) the Python program.
Cassignm222
Assignment 2 features designing a program using pseudocode and then completing the program in Python using a list. M4Lab2 asks you to write a Drawing app in Python and Pygame using a list for the colors.
Each lab asks you to write pseudocode that plans the program's logic before you write the program in Python and to turn in three things: 1) the pseudocode, 2) a screenshot of the output, and 3) the Python program.
# Step 1: Define a colors list to describe 3 colors.
# Hint, use their RGB number values
Step 2: define a radius variable for your pen at 5, 10 or 15
# Test them to see which radius you prefer and use it
# Step 3: write the elif for pressing button 2, similar to button 1
# Step 4: write the statement for button 2's color
# Step 5: write the else statement for button 3
# Step 6: choose a color from the list??
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images