Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Trying to print corresponding elements in two different list
Post: RE: Trying to print corresponding elements in two ...

(Mar-03-2020, 02:08 AM)snippsat Wrote: Connect the two list to a dictionary,then can use max() with key parameter. >>> rainfall = [10, 20, 30] >>> months = ['January', 'February', ...
Darthmarvolo General Coding Help 5 2,596 Mar-03-2020, 02:58 AM
    Thread: Trying to print corresponding elements in two different list
Post: RE: Trying to print corresponding elements in two ...

(Mar-03-2020, 01:39 AM)Larz60+ Wrote: You can zip the two lists, Example: >>> rainfall = [1.1, 2.3, .5, 2, 3.1, .25, 1.1, 2.3, .5, 2, 3.1, .25] >>> months = ['January', 'February',...
Darthmarvolo General Coding Help 5 2,596 Mar-03-2020, 01:51 AM
    Thread: Trying to print corresponding elements in two different list
Post: Trying to print corresponding elements in two diff...

very new to python and it is also my first programming langue. i have two list one to take in user input for how much rainfall happened each month and the other for the months of the year. i want to o...
Darthmarvolo General Coding Help 5 2,596 Mar-03-2020, 12:59 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020