pseudocode amp python with variable scope 2

Overview

Module 4 Assignment 1 features the design of a calculator program using pseudocode and a Python program that uses a list and functions with variable scope to add, subtract, multiply, and divide. Open the M4Lab1ii.py program in IDLE and save it as M4Lab1ii.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

Write pseudocode for a Python program that 1) defines a list to store the choice of +, -, *, and /, 2) defines functions to support the calculations, and 3) calls them in response to user inputs. Test each of the four calculations, and turn in the pseudocode, the Python program, and a screenshot of your output displaying the four tests in the Python shell.

Requirements for Your M4 Assignment 1 Pseudocode & Python with Variable Scope

Complete a program in pseudocode and Python that performs the following tasks.

  1. Open the file called M4Lab1ii.py linked below these instructions in your M4 Content module in IDLE.
  2. Save as M4Lab1ii.py. Replace ii with your initials. [example for someone with the initials cc: M4Lab1cc.py]
  3. Complete Steps 1-7 as requested within the code’s comments.
  4. Run your program and test all four calculations, then exit the program.
  5. Save your program as M4Lab1ii.py using your initials.
  6. Take a screenshot of your program’s output from the Python shell.
  7. Save your pseudocode as M4Lab1ii.docx. Replace ii with your initials.
  8. Insert a screenshot of your program output in the pseudocode’s Word file.

How to Complete Your M4 Assignment 1 Pseudocode & Python with Variable Scope

  1. Write your pseudocode and save it as M4Lab1ii.docx. Replace ii with your initials.
  2. Write your program and save it as M4Lab1ii.py. Replace ii with your initials.
  3. Take a screenshot of your program’s output and Insert it in M4Lab1ii.docx
  4. Upload both M4 Lab documents (Word and Python) to M4 Assignment 1 Pseudocode & Python with Variable Scope 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.

 
Looking for a similar assignment? Our writers will offer you original work free from plagiarism. We follow the assignment instructions to the letter and always deliver on time. Be assured of a quality paper that will raise your grade. Order now and Get a 15% Discount! Use Coupon Code "Newclient"