subject

Complete the code. 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

ANSWER: 1

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
You are almost finished updating a web site. as part of the update, you have converted all pages from html 4.0 to html5. the project is currently on schedule. however, your project manager has been asked by the marketing team manager to justify a day of time spent validating the site's html5 pages. the marketing team manager does not have technical knowledge of the internet or the web. which is the most appropriate explanation to provide to the marketing team manager?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
You know the right answer?
Complete the code. A sample member of the list data is a1 = ['male', True] where the second item is...
Questions
question
Biology, 12.01.2021 03:10
question
History, 12.01.2021 03:10
question
Advanced Placement (AP), 12.01.2021 03:10
question
English, 12.01.2021 03:10
question
Mathematics, 12.01.2021 03:10
question
Chemistry, 12.01.2021 03:10
Questions on the website: 13722361