Re: [Tutor] Counting Items on a List associated w/ Index #

2018-08-03 Thread Alan Gauld via Tutor
On 03/08/18 12:14, Rafael Knuth wrote: > I wrote a function which is supposed to count the number of items on > each index #. > For starters, here's a list I created to test the function: > > properties = ["mansion, modern, swimming_pool" , "mansion, historic, > air_conditioning", "penthouse,

[Tutor] Counting Items on a List associated w/ Index #

2018-08-03 Thread Rafael Knuth
Hi there, I wrote a function which is supposed to count the number of items on each index #. For starters, here's a list I created to test the function: properties = ["mansion, modern, swimming_pool" , "mansion, historic, air_conditioning", "penthouse, modern, whirlpool"] # index 0 = property