Oct-08-2018, 01:19 AM
praire_pirates = [['Tractor Jack', 1000, True], ['Plowshare Pete', 950, False], ['Praire Lily', 245, True], ['Red River Rosie', 350, True], ['Mad Athabasca McArthur', 842, False],['Assiniboine Sally', 620, True], ['Thresher Tom', 150, True], ['Cranky Canola Carl', 499, False]]
I am supposed to create a list comprehension to create a list of the market values of each pirates grain, which are the numbers in the list. How do I go on about doing that?
all I have so far is plunder_value = [ ] and I dont know how to start it. Any help would be appreciated
I am supposed to create a list comprehension to create a list of the market values of each pirates grain, which are the numbers in the list. How do I go on about doing that?
all I have so far is plunder_value = [ ] and I dont know how to start it. Any help would be appreciated