Computers and Technology

# the below list contain 10 values each # the lists elements are all related by index position
# example Moscow, 65 , s are related
# example London, 68, sp are related

# Season and Temperature range for each season.
# w = Winter is 40 and below
# f = Fall is 41 - 65
# sp = Spring is 66 - 80
# s = Summer is 81 and over

TO_DO:
# using the three lists below
# write out to a file the city, temperature and season(it should be) for each cities temperature
# that does not match its season from the season list.

Output_example:
# example city moscow has temp of 65 but season of 's', the range for spring is 66 - 80, so this
# needs to be printed out.
# output example:
# Moscow 65 Fall

Lists to Use:
cities = ["Moscow","London", "Seoul","Tokyo","Mumbai","Dubai","T oronto","Stockholm","Oslo",""]
temperature = [65, 68, 90, 25, 82, 67, 70, 30, 91, 72]
season = ["s", "sp", "f", "w", "w", "s", "sp", "s", "f", "w"]

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:40, vanessacasillas452
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
image
Computers and Technology, 23.06.2019 00:30, amy20021
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies. pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
image
Computers and Technology, 24.06.2019 00:30, Auttyrain3929
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
image
Computers and Technology, 24.06.2019 17:50, connorwbrown07
Acontact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. write a program that first takes in word pairs that consist of a name and a phone number (both strings). that list is followed by a name, and your program should output that name's phone number.
Answers: 1
Do you know the correct answer?
# the below list contain 10 values each # the lists elements are all related by index position

Questions in other subjects: