Overview
Module 4 Assignment 2 features designing a program using pseudocode
and then completing the program in Python using a list. M4Lab2 asks you
to write a Drag to Draw Pygame program using a list for the colors. Open
the M4Lab2ii.py program in IDLE and save it as M4Lab2ii.py with your
initials instead of ii.
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.
Instructions
Pseudocode and Python Program with Strings
M4Lab2.txt has some of the code provided for a Mortgage Loan
Calculator. In your lab, write the rest of the code to perform the
following tasks:
- Open the file called M4Lab2ii.py linked below these instructions in your M4 Content module in IDLE.
- Save as M4Lab2ii.py. Replace ii with your initials. [example for someone with the initials cc: M3Lab1cc.py]
- Complete Steps 1-6 within the M4Lab2 code’s comments.
- Run your program and draw using the left and right cursor buttons.
- If available, also draw with the center cursor buttons, also called the scroll wheel.
- Test your program with different colors and take a screenshot of your drawing.
- Save your pseudocode as M4Lab2ii.docx. Replace ii with your initials.
- Insert a screenshot of your program output in the pseudocode’s Word file.
How to Complete Your M4 Assignment 2 Pseudocode & Python Program with Strings
- Write your pseudocode and save it as M4Lab2ii.docx. Replace ii with your initials.
- Write your program and save it as M4Lab2ii.py. Replace ii with your initials.
- Take a screenshot of your program’s output and Insert it in M4Lab2ii.docx
- Upload both M4 Lab documents (Word and Python) to Upload to M4
Assignment 2 Pseudocode & Python Program Assignment Submission
Folder. .
See the Schedule in the Syllabus Module for due dates. Review the Rubric attached to the Assignment Submission Folder for grading information.


0 comments