Complete the code.A sample member of the list data is a1 = ['male',True], which indicates a male was on the phone.

for item in data:
if item[ ____ ] == 'male':

males = males + 1
if item[1]:

• 1
• 0
• 2

Answers

Answer 1
Answer:

The complete code is for an item in data: if item[ 0 ] == 'male': The correct option is B.

What is coding?

We connect with computers through coding, often known as computer programming. Coding is similar to writing a set of instructions because it instructs a machine on what to do.

You can instruct computers what to do or how to behave much more quickly by learning to write code. Languages written in an imperative, functional, logical, or object-oriented style are common.

These coding language paradigms are available for programmers to select from in order to best meet their demands for a given project. You don't need advanced math abilities for the majority of coding careers, while some programming fields (like game development and machine learning) do demand it.

Therefore, the correct option is B, 0.

To learn more about coding, refer to the link:

brainly.com/question/17204194

#SPJ2

Answer 2
Answer:

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.


Related Questions

The conceptual phase of any system or just the software facet of a system best describes the sdlc
Which of the following types of memory is used to load programs and transfer files during your work sessions?optimum,virtual,RAM,ROM.
A website whose URL ends with .gov, .edu, or .org is necessarily a reliable source. True or False
It is used to loosen or tighten slotted screws. * 1 point A. Hex Driver B. Torx Screwdriver C. Philips Head Screwdriver D. Flat Head Screwdriver
Evaluate means having a preference for one thing over another in a way that's unfair.O TrueFalse

If you need to set up direct deposit, which information from your check would you likely need?

Answers

This question has multiple choices to choose from;
a. Check Number
b. Memo line
c. Numerical amount
d. Routing Number.

The answer is (D) Routing Number.

Only the routing number in the choices above will provide the information needed. A routing number is a 9 digit code that is based on the U.S.A bank location where your account was initially opened. It identifies the location your account was opened. Often, you will be asked for your routing number or the RTN, as is commonly known, when making payments by phone or online. Bank’s routing numbers are sensitive information and should be kept in secrecy.
Other details that you will be required to provide are bank account number, type of account, bank address, name of account holders listed on the account, and other required information.

The information you will need from your check if you need to set up a direct deposit is the routing number.

The routing number identifies the location where you opened your account. It is a nine digits number and can be found at the bottom left corner on a check. All banks have their unique routing number and it is treated as an address that is linked with your bank.

Further Explanation

The routing number is also known as an ABA number and it is used for electronic transactions such as digital checks, direct deposit, fund transfer, etc.

The routing number is always present on all checks and located at the bottom of the left-hand corner on a personal check. The routing can be located anywhere on a check that is generated via a computer.

The routing number was created in 1910 by the American bankers’ association (ABA). The main reason why the routing number was created is to attach a unique number to banks that issue payment to reduce confusion during the processing of paper checks

Most times, this number is required when making a payment online or through the phone.

Therefore, the information you will need from your check if you need to set up a direct deposit is the routing number.

LEARN MORE:

KEYWORDS:

  • routing number
  • ABA number
  • checks
  • banks
  • online payment

Which tools would you use to make header 1 look like header 2.

Answers

The tools that would be used to make header 1 appear and look like header 2 is the alignment tool icon and the Bold tool icon.

To understand this question, we must understand the interface of the Microsoft Excel.

What is Microsoft Excel?

Microsoft Excel is a spreadsheet that can be used for a variety of features such as:

  • Computation of Data sets and variables
  • Calculation of Business Data
  • Arrangement and Analysis of Data into Tables etc.

As a Microsoft software, Microsoft Excel can also be used to edit sheets. In the image attached, the required tool icons needed to change the header 1 into header 2 is the alignment tool icon and the Bold tool icon.

The two tools can be seen in the image as the two lower left icons.

Learn more about Microsoft Excel here:

brainly.com/question/25863198

You are the administrator of an organization with a single Active Directory domain. One of your senior executives tries to log onto a machine and receives the error “This user account has expired. Ask your administrator to reactivate your account.” You need to make sure that this doesn’t happen again to this user. What do you do? (A) Configure the domain policy to disable account lockouts.(B) Configure the password policy to extend the maximum password age to 0.(C) Modify the user's properties to set the Account Never Expires setting.(D) Modify the user's properties to extend the maximum password age to 0.

Answers

Answer:

C

Explanation:

Modify the user's properties to set the Account Never Expires setting. This setting disables the Expiry setting for the password.so the user never get password expired message

The Answer is C

Choose the answer that describes the following: tres líneas diagonales y una línea horizontal. A. ///—
B. ///|
C. //|
D. //—

Answers

The correct answer for the question that is being presented above is this one: "A. ///— ." tres líneas diagonales y una línea horizontal. If translated to English, it means, 3 diagonal lines and a horizontal line. So the choice letter 'A' shows 3 diagonal lines and a horizontal line.

The correct answer is A.

Victor has been murdered, and Art, Bob, and Carl are suspects. Art says he did not do it. He says that Bob was the victim's friend but that Carl hated the victim. Bob says he was out of town the day of the murder, and besides he didn't even know the guy. Carl says he is innocent and he saw Art and Bob with the victim just before the murder. Assuming that everyone - except possibly for the murderer - is telling the truth, encode the facts of the case so that you can use the tools of Propositional Logic to convince people that Bob killed Victor.How can you find out using logic that Bob Killed Victor?

Answers

20 characters yes no

Computer trespass can be harmless.
a. True
b. False

Answers

I think The answer is true
They can be harmless sometimes