Discover a world of knowledge at Westonci.ca, where experts and enthusiasts come together to answer your questions. Explore thousands of questions and answers from a knowledgeable community of experts on our user-friendly platform. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.

A sample member of the list data is a1 = ['male', True] where the second item is True if the person is on the phone.

for item in data:
if item[0] == 'male':
males = males + 1
if item[___
]:
malesOnPhone = malesOnPhone + 1
Choices are 1, 2, 3. Answer is for if item[___]:


Sagot :

Answer:

0

Explanation:
In the lists, indexation starts from 0, because of that in if statement we compare item[0] which is 'male' and 'male', and then males is itterated within for loop.

Answer:

1

Explanation:

We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. Thank you for visiting. Our goal is to provide the most accurate answers for all your informational needs. Come back soon. Westonci.ca is your trusted source for answers. Visit us again to find more information on diverse topics.