Computers and Technology

Instructions: complete this assignment in python 3.x. make sure you have downloaded the software, and it is installed correctly. you will code the following and submit it in one file. use the information in the lessons area for this week to assist you. save it as a python file (.py), and upload it into the assignments area. create a comment block (starts at line 1 in the code) with the following information: """ your name course name, section (example: entd200 b002 spr15) instructor name week # date completed""" problem 1: create a list (or tuple only, no dictionary) that contains the months of the year. ( do not hardcode the number) problem 2: create a loop to print the number and the months of the year from the list. the output should like this: month 1 is januarymonth 2 is february….….month 12 is decemberoptional 1month 1 is january, new year ( do not use if-then)the output will look like thismonth 1 is january , new year! month 2 is february, valentine! month 3 is marchmonth 4 is aprilmonth 5 is maymonth 6 is junemonth 7 is july, fourth of july! month 8 is augustmonth 9 is septembermonth 10 is october, halloween! month 11 is november, ! month 12 is december, christmas! optional 2 modify the payroll and/or the mpg program from week5/6 to store the results in a list/dictionary. print the list/dictionary when no more calculation is selected. the output will be something like this for the payrollpayroll for week xyzjames bond 21,500al bundy 500johnny english ….. 1,200total payroll 23,200 for the mpg will be something likempg for zyz truckweek 1 12week 2 33week 3 27mpg ave 24

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:30, luje
Imagine that you have a friend who is starting a small business and is interested in using social media to spread the word. he is not certain that it is a good move, and has come to you for . would you advise him to use social media to advertise his business? why or why not? support you answer with information from the text.
Answers: 1
image
Computers and Technology, 22.06.2019 20:00, Jana1517
What is the worst-case complexity of the maxrepeats function? assume that the longest string in the names array is at most 25 characters wide (i. e., string comparison can be treated as o( class namecounter { private: int* counts; int nc; string* names; int nn; public: namecounter (int ncounts, int nnames); int maxrepeats() const; }; int namecounter: : maxrepeats () { int maxcount = 0; for (int i = 0; i < nc; ++i) { int count = 1; for (int j = i+1; j < nc; ++j) { if (names[i] == names[j]) ++count; } maxcount = max(count, maxcount); } return maxcount; }
Answers: 3
image
Computers and Technology, 23.06.2019 13:30, gamingisfun
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
image
Computers and Technology, 23.06.2019 14:00, savannnab1890
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
Do you know the correct answer?
Instructions: complete this assignment in python 3.x. make sure you have downloaded the software, an...

Questions in other subjects:

Konu
History, 29.01.2020 18:58