subject

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

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:30, Daud2020
What kind of motivation is katrina showing? use the drop-down menu to complete the statement. katrina is using motivation because she is personally interested in learning more.
Answers: 2
image
Computers and Technology, 22.06.2019 07:50, OnlyaBurden
In this lab, you complete a prewritten c++ program for a carpenter who creates personalized house signs. the program is supposed to compute the price of any sign a customer orders, based on the following facts: the charge for all signs is a minimum of $35.00. the first five letters or numbers are included in the minimum charge; there is a $4 charge for each additional character. if the sign is made of oak, add $20.00. no charge is added for pine. black or white characters are included in the minimum charge; there is an additional $15 charge for gold-leaf lettering. instructions ensure the file named housesign. cppis open in the code editor. you need to declare variables for the following, and initialize them where specified: a variable for the cost of the sign initialized to 0.00 (charge). a variable for the number of characters initialized to 8 (numchars). a variable for the color of the characters initialized to "gold" (color). a variable for the wood type initialized to "oak" (woodtype). write the rest of the program using assignment statements and ifstatements as appropriate. the output statements are written for you. execute the program by clicking the run button. your output should be: the charge for this sign is $82. this is the code, // housesign. cpp - this program calculates prices for custom made signs. #include #include using namespace std; int main() { // this is the work done in the housekeeping() function // declare and initialize variables here // charge for this sign // color of characters in sign // number of characters in sign // type of wood // this is the work done in the detailloop() function // write assignment and if statements here // this is the work done in the endofjob() function // output charge for this sign cout < < "the charge for this sign is $" < < charge < < endl; return(0); }
Answers: 1
image
Computers and Technology, 22.06.2019 19:00, trintrin227
In he example code, what does the title attribute create? a tool tip an element a source a markup
Answers: 1
image
Computers and Technology, 23.06.2019 04:40, Koriunaa
The narrative structure of the popular movies can be broken down into
Answers: 3
You know the right answer?
Instructions: complete this assignment in python 3.x. make sure you have downloaded the software, an...

Questions in other subjects: