subject

# 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"]

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
Which of the following terms refers to a collection of different types of software that share the goal of infiltrating a computer and making it do something? a- malware b- virus c- spyware d- trojan horse
Answers: 2
question
Computers and Technology, 24.06.2019 15:30
During the software planning process, rick, a project manager, finds that his team has made an incorrect estimation of funds. what kind of risk has rick identified? rick has identified a risk.
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
Dereck works for long hours on his computer.  he frequently experiences physical strain by the end of the day because he does not follow an important rule of ergonomics with respect to the use of keyboards.  which of the following actions of dereck could lead to physical strain? a.  placing the keyboard exactly in front of him while typingb.  keeping hands and wrists straight while typingc.  using wrist pads throughout the dayd.  pounding at the keys on the keyboard while typinge.  resting his hands on the keyboard when he is not typing
Answers: 1
You know the right answer?
# the below list contain 10 values each # the lists elements are all related by index position
Questions
question
Mathematics, 02.03.2021 23:50
question
World Languages, 02.03.2021 23:50
question
Mathematics, 02.03.2021 23:50
question
Mathematics, 02.03.2021 23:50
question
Mathematics, 02.03.2021 23:50
question
Mathematics, 02.03.2021 23:50
question
Mathematics, 02.03.2021 23:50
question
Mathematics, 02.03.2021 23:50
Questions on the website: 13722362