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.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter3: Understanding Structure
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

 

 

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?? 

 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
List
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage