At Westonci.ca, we connect you with experts who provide detailed answers to your most pressing questions. Start exploring now! Join our Q&A platform to connect with experts dedicated to providing precise answers to your questions in different areas. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A 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: