Computers and Technology

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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 09:30, caromaybelline71
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
image
Computers and Technology, 23.06.2019 11:20, 1tzM3
Http is the protocol that governs communications between web servers and web clients (i. e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
image
Computers and Technology, 24.06.2019 23:00, Kaziyah461
People should never use telepresence when virtually meeting with a group of co-workers. true false
Answers: 1
image
Computers and Technology, 25.06.2019 08:30, asapmechee
Uses an iterative process that repeats the design, expansion, and testing steps as needed, based on feedback from users.
Answers: 1
Do you know the correct answer?
Complete this assignment in python 3.x. make sure you have downloaded the software, and it is instal...

Questions in other subjects:

Konu
Biology, 06.10.2020 01:01
Konu
Geography, 06.10.2020 01:01