module 2 assignment 2 pseudocode amp python 1

Overview

Module 2 Assignment 2 features designing the logic for a simple program using pseudocode and then writing the program in Python.
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 IDLE console’s results, and 3) the Python program.

Instructions

Pseudocode and Python Program Design Requirements

Design the pseudocode and a Python program that asks customers for their name, where they want to go, how long they plan to stay, and calculate how much it will cost by multiplying the days by $100 per day. Confirm the information that the user provided.

  1. In a welcome message, tell the customer that she/he won a free vacation with airfare and hotel expenses paid.
  2. Ask for the customer’s name.
  3. Ask the user “where do you want to go for vacation? Display the location on screen.
  4. How many days will he or she spend on vacation, 4 or 7 days?
  5. Calculate the cost by multiplying the number of days by 100.
  6. Display the total expenses for food and entertainment.

Module 2 Assignment 2: Post Your Pseudocode & Python Program:

  1. Write your pseudocode using English-like program statements. Save it as a Word .docx file or .rtf file.
  2. Create a New File in IDLE and Save the file with your initials. [example for someone with the initials cc: M2Lab2cc.py]
  3. At the top of your program, add a comment using the # sign, add your name and the assignment M2Lab2.
  4. Write your program following the steps in the Instructions.
  5. Save your new Python program, run it and test it.
    • Tip: If you see the # of days repeat 100 times, you are multiplying a string. Look up how to input an integer for the # of days.
  6. Take a screenshot of your program output in the Python console window [Alt Key + PrntScreen].
  7. Right click and Paste the screenshot into the same Word document with your pseudocode.
  8. Upload to M2 Assignment 2 Pseudocode & Python Assignment Submission Folder.
    1. Output screenshot with your pseudocode
    2. Python program

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? Get Expert Help at an Amazing Discount!
Use Discount Code “Newclient”for a 15% Discount!”

We have Walden University and Capella University nursing practitioners!


Buy Custom Nursing Papers

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational