subject

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 january
month 2 is february
….
….

month 12 is december

optional 1

month 1 is january, new year ( do not use if-then)

the output will look like this

month 1 is january , new year!
month 2 is february, valentine!
month 3 is march
month 4 is april
month 5 is may
month 6 is june
month 7 is july, fourth of july!
month 8 is august
month 9 is september
month 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 payroll

payroll for week xyz
james bond 21,500
al bundy 500
johnny english ….. 1,200
total payroll 23,200

for the mpg will be something like

mpg for zyz truck
week 1 12
week 2 33
week 3 27
mpg ave 24

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:40
Adna sequence encoding a five-amino acid polypeptide is given below. …… …… locate the sequence encoding the five amino acids of the polypeptide, and identify the template and coding strand.
Answers: 1
question
Computers and Technology, 22.06.2019 02:30
Larry sent an email to andy. andy didn't open larry's email but still understood what the message was. how did andy determine the message without opening the email?
Answers: 1
question
Computers and Technology, 22.06.2019 10:50
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
What is outfitting a workplace with video in a technology
Answers: 2
You know the right answer?
Complete this assignment in python 3.x. make sure you have downloaded the software, and it is instal...
Questions
question
Mathematics, 06.11.2019 04:31
question
Mathematics, 06.11.2019 04:31
question
Mathematics, 06.11.2019 04:31
question
Mathematics, 06.11.2019 04:31
question
Mathematics, 06.11.2019 04:31
question
English, 06.11.2019 04:31
question
Mathematics, 06.11.2019 04:31
Questions on the website: 13722361