What will you see on the next line?

>>> aList = [12, 3, 5, 7, 7]
>>> aList.index(7)

1

7

3

2

Answers

Answer 1

Answer:

its 3, just did it on edg 2020

Explanation:

sdfdsfdsfdsfsdfsdf vote me brainliest!

Answer 2

The next line after >>> aList = [12, 3, 5, 7, 7], >>> aList.index(7) is 3. The correct option is c.

What is an array?

A group of identical objects or pieces of data held near to one another in memory is referred to as an array. An array type is a user-defined data type that consists of an ordered collection of objects of a single data type. Ordinary array types have a set maximum number of elements they can hold and use the ordinal position as the array index.

The unordered list that is a part of the simple array is thus visible. The unordered list can be converted to an ordered list by executing the command "aList. sort()".

So, the next line will be:

>>> aList = [12, 3, 5, 7, 7]

>>> aList.index(7)

3

Therefore, the correct option is c. 3.

To learn more about array, refer to the link below:

brainly.com/question/14915529

#SPJ2


Related Questions

What is a letter that is written by someone you know and is used by a college during the application process?

Answers

Letters of recommendation.

Answer:

Letters of recommedation ..

Explanation:

Which statements are true? Select 4 options.

A class variable can be a different type of class.

A class variable can be a list of instances of a different class.

An instance of a class cannot be changed after it is created.

Functions defined in a class are called methods.

Variables defined in the constructor of a class can be accessed by the main program that uses instances of the class.

Answers

Answer: All of the answers are correct EXCEPT "An instance of a class cannot be changed after it is created.

Explanation: I've done the problem. Also, if you have an instance of a class, you can no longer change it. It is frozen in time as that one instance. If had a class defining pets and you made an instance dogA where the pet was a brown medium sized dog, dogA would always be a brown medium sized dog. I think, at least.

Answer: A class variable can be a different type of class.

A class variable can be a list of instances of a different class.

Functions defined in a class are called methods.

Variables defined in the constructor of a class can be accessed by the main program that uses instances of the class.

Explanation:

got it right on edgen

Consider the popular online retailer Amazon. What aspects of its business are run through public networks, and what aspects might be run through a private intranet?

Answers

Supporting strategic business objectives: intranets can play an active role in support high-level business objectives such as building, embedding and communicating a common culture, improving employee engagement or improving staff retention rates.

Answer: public: when amazon shows what everyone is buying or what is being sold most frequently. When you put down your review of a product and your profile.

private: when you put in your address debit or credit cards your email or phone number and more so amazon can ship the product you have bought and so you can buy the product.

Explanation: this is my first time answering a question i hope this helps :)

WHY DOES THIS HAPPEN!?!??!?

Answers

Answer:

whats the qeustain?

Explanation:

help plz, u just gotta select all that apply :)

Answers

Answer:

Concept: Graph Analysis

We want to know all those that produce around 0.01 kg: Parsly, Coriander, Mint, Strawberry Rate positively and give brainlist

Select the best answer from the drop-down menu. Sometimes people feel threatened by new ideas and different ways of doing things. This results in . conflict is resentment that a person is experiencing but doesn't express. conflict is the behavioral or action stage of conflict. This is often characterized by negative actions. Conflict can arise in the workplace because of personality issues, cultural differences, and .

Answers

Answer

Conflict

Latent

Manifest

Religious beliefs

Explanation:

is it just me or do people delete other peoples questions and it shows up in my inbox staying its mine

Answers

Answer:

yessss same bru.h

Explanation:

Answer:

ive had that happen before i dont know why it happens

plzz help me with this question.........

Write a program to input a number find the sum of digits and the number of digits. Display the output also.......

sample input - 7359
sample digits - 24
number of digits - 4​

Answers

Answer:

please mark as brainliest!!

Explanation:

public class SumOfDigits{ public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Please enter a number to calculate sum of digits"); int number = sc.nextInt(); // Remember number/10 reduces one digit from number // and number%10 gives you last digit int sum = 0; int input = number; while (input != 0) { int lastdigit = input % 10; sum += lastdigit; input /= 10; } System.out.printf("Sum of digits of number %d is %d", number, sum); // closing Scanner to prevent resource leak sc.close(); } }

What kinds of circumstances would lead you to writing a function versus using a loop? please explain in simple terms

Answers

Answer:

1. You want to use parameters

2. You don't want your program to run multiple times

3. You want to call that snippet of code throughout your program

hope this helped :D

Imagine you're in charge of managing an annual fest at your school. You have to select students and assign them different tasks. Write a short essay on the qualities and traits you would be looking for while selecting students. Explain why you think these qualities and traits are important. Also, describe how the lack of such qualities and traits would affect the work.

Answers

Answer:

Quality traits are important in many ways. A persons traits identifies them of how they treat you or how you might treat them. It is important to find good working people for the job. For example if one student is good at a specific task I might put them in that task or if another is good at stocking shelves or finding books I might put them in the library to help students find books. It is important as a supervisor to find people that listen and follow instructions not people that mess around and are unorganized. These qualities and traits are important to see the real potential of the employees. Finding the right people for the job will help the school and you as the supervisor to manage these employees. Making a application or employment sheet will help to find the right people making a sheet with some questions and have the potential employees fill it out to find their traits and skills.

Explanation:

Sorry I didn't have much background information on what you wanted me to write hope this works you can edit and change stuff though.

Also run this through Grammarly's plagiarism tester to see if it is plagiarism!

Which actions help to protect a computer and keep it running properly? Check all that apply.

performing regular scans
deleting any unwanted files
backing up files and other data
saving Internet browsing history
saving and storing all junk files

Answers

backing up files and othed date
saving and storing all junk files
deleting any unwanted scans

Answer:

ABC

Explanation:

100% EDGE 2022

choose the type of error described. can you help me bc i don’t know??

Answers

Answer:

logic error occurs when the result is wrong...

syntax error occurs when you use the wrong punctuation...

runtime error occurs when the program starts running...

Answer:

Logic error: When the computer outputs an undesirable value due to the wrong use of operations.

Syntax error: Occurs when syntax is not used correctly in code.

Zero division error: Occurs when a value is divided by zero.

Hope this helps :)

what is bit and byte in computer​

Answers

A bit is the smallest unit of information a byte is to see how many bits need to be represented (letters/characters)

Hope this helps

Write 5-7 sentences about your own personal observations in which you have been part of a "filter". You might have experienced this is in your Twitter feed, specific advertisements, or your search engine results. Be specific.

Answers

Answer:

Answered below.

Explanation:

I made a search for a product on an online grocery store. The search results came in and I bought the product. On subsequent visits to the grocery store website or on browsing other sites, I had special advertisements pop up. These advertisements were suggesting products to me similar to the one I bought on the grocery store. It was a targeted advertisement that had been sent based on my recent searches and purchases on the site. So I knew that was a filter.

Can you please help me with the AP Computer Science Fill in the blank. What goes on number 5 8 and 18. I don’t understand this I need help programming.

Answers

Answer:

you can probably just delete them. what programming language is this?

what is meant by astigmation​

Answers

Answer:

It is a condition where the eye isn't completely round

Explanation:

Answer:

is a common and generally treatable imperfection in the curvature of your eye that causes blurred distance and near vision. Astigmatism occurs when either the front surface of your eye (cornea) or the lens, inside your eye, has mismatched curves

Explanation:

input and output devices provide means of communication between computers and outer world

Answers

Answer:

See explanation

Explanation:

This question seem incomplete as what's required was not stated.

To answer this question, I'll assume it's a fill-in-the-gap question

The definition given above describes computer peripherals.

Peripherals is one of the links between a computer user and the computer itself.

Through peripherals such as keyboards, mouse, light pen , one can send input into the computer.

In the same vein, one can get outputs through peripherals such as the computer monitor, speakers, printers, etc.

How can internet affect business area? 


Answers

The communication between customers and businesses increases customer satisfaction and businesses are able to connect to the customers. it lets businesses go further to expand their service or product which can increases profit.

What is the other name of the horizontal column graph?
graph is also known as the horlzontal column graph.

Answers

Answer:

Side Graph mabye?

Explanation:

Answer:

A bar graph.

Explanation:

A bar graph is also known as the horizontal column graph.

5. What is a domain name used for?​

Answers

Answer:

Domain names serve to identify Internet resources, such as computers, networks, and services, with a text-based label that is easier to memorize than the numerical addresses used in the Internet protocols. A domain name may represent entire collections of such resources or individual instances.

Explanation:

*Hope this helps*


8.10 Code Practice Question 1

Write code that takes in two words from user input and stores them in the variables x and y respectively. Then, the programs the values in x and y, and print x and y).

Note: The variable names x and y are required for this question

Answers

x = input("Enter a word: ")

y = input("Enter a word: ")

x,y = y, x

print(x)

print(y)

I hope this helps

Since we need to perform some coding functions such as:

Asking for the input of a numberStoring them as individual variablesPrinting/Displaying the values independently.

First thing we need to do is to declare the unknown variables as x and y

Next would be to write the input this way:

x= input ("Put a word:")

y= input ("Put a second word:")

x,y = y, x

Print(x0

Print(Y)

Read more about programming here:

https://brainly.com/question/18900609

objets will never appear to have more than one vamishing point
true or false

Answers

Answer: it’s True

Explanation:

What security concept states a user should only be given the minimum set of permissions required to perform necessary tasks

Answers

The correct answer is least functionality. I hope this helps.

I have a problem with my Nintendo DS lite does anyone know how to fix it?

Answers

Try checking if the battery is still working, they usually tend to give out at times.

In my 4.3 Code practice: Question 1.
Every time I enter an age, it just continues to print **HUG**
What is wrong with my code?

Answers

Answer:

you have the (while) code in whenever it is greater than 0, print hug. if less than, then nothing so flip the inequality thing around again.

Hope this helps plz hit the crown

Kayla wants to know whether she should set her network up as a WAN or a LAN. What are the three questions you would ask her, and how would those questions affect your recommendation?

Answers

Due to it's typically massive size, WAN's are almost always slower then a LAN. The further the distance, the slower the network. One of the big disadvantages to having a WAN is the cost it can incur. Having a private WAN can be expensive.

Answer:

I would ask her: One, how large will the business be? Two, how secure she wants/needs the connection to be. And three, how much money she is willing to spend to install and/or maintain her network.

Since Kayla is just starting her business, my recommendation would be to set up her network as a LAN. A LAN is a group of computers and network devices connected together, and most often reside in one building. Kayla's business will start small, so it is not needed to set up her network as a WAN. WAN's are usually not restricted to a geographical location, and can be expanded to cover a whole country, or even a planet. A LAN would make sense in the coverage aspect, since Kayla's business has not expanded yet.

Depending on how secure she wants her network to be, she can choose whether or not she uses WAN or LAN. WAN is less secure, as it covers a large geographical area, while LAN is more secure. LAN is more secure because it covers a smaller area. I would recommend using LAN as it is better to have a secure network as a business.  

Finally, Kayla needs to address the cost of setting up and maintaining a LAN or WAN. I would recommend that Kayla uses a LAN because as a starting business, it is important to allocate money properly. LAN's usually cost less to install and maintain due to it's smaller geographical radius, so it would be best to choose to set up her network as a LAN.

Explanation:

You’ve been tossed into an insane asylum. What do you tell the people there to prove to them that you don’t belong inside?

Answers

Was this a question on an assignment or are you in an asylum right now

An asylum is for crazy people. I'm crazy. Crazy people don't realize they're crazy. If I realize I'm crazy, then I'm not crazy. Therefore, I do not belong here.

How can you make the drawing tools contextual tab appear

Answers

Answer:

C. place the insertion point in any text in the text box.

Typically, the Ribbon contains the Draw tab. Here's how to add it, though, if you can't see it on yours. Customize the ribbon by selecting it with the right mouse click. Click OK after selecting the checkbox next to draw. Thus, option C is correct.

What make the drawing tools contextual tab appear?

If your Draw Tools are hidden, you can reveal them by bringing up the View menu, selecting Toolbars, and then selecting Drawing. Look at the Draw Tools' features for a bit.

When you click outside these objects, the tools in the contextual tabs are put away, giving you the options and resources you need to deal with them.

Clicking on the item causes the tab to reappear, and you can get them back. Your workspace remains uncluttered as a result.

Therefore, place the insertion point in any text in the text box.

Learn more contextual tab about  here:

https://brainly.com/question/14139335

#SPJ2

Why does it matter if a network is set up as a LAN, or a WAN?

Answers

Answer:

A small office or business will typically only need a LAN. The local network will ensure that different files can be transferred through your office leading to a connected business environment. If you have a larger business or multiple branches, that's when you're going to need a WAN. -Google.

Answer:

A small office or business will typically only need a LAN. The local network will ensure that different files can be transferred through your office leading to a connected business environment. If you have a larger business or multiple branches, that's when you're going to need a WA

Explanation:

I need help with 9.1

Answers

Answer:

x=circumfrence of circle im 29 boi

Explanation:

Other Questions
i need to know the solution of 4(x+3)-4=81/2x+1 this is important please help I will give brainiest why was it illegal for a slave to read and write? and what would happen if they get caught? What does a useful scientific explanation include ?? what is the full form of tree The question is below thanks 4) 16 + 7 + 9 = 7 + 9 + 16 *A. Commutative Property of AdditionO B. Additive Identity PropertyC. Multiplicative Identity PropertyO D. Associative Property of AdditionHelp me pls Rob is saving money for a down payment on a house. He opens a savings account at his local bank and deposits $1000. He models his savings plan with the equation y=400x+1000 based on his current income and monthly savings rate. What is the meaning of the y-intercept in the equation? which of the following was established during the reign of charles i to protect citizens?A. Act of Habeas CorpusB. English Bill of RightsC. Magna CartaD. Petition of Rights Describe the Three-Fifths Compromise. Which of the following statements is true regarding ICD-10-CM diagnosis coding?Question 9 options:A) Always code first from the Tabular section of the ICD-10-CM manual.B) All codes to be assigned should be taken directly from the ICD-10-CM Alphabetical Index.C) Never code directly from the Alphabetical Index.D) Search code in the Tabular section of the ICD-10-CM manual and verify the code found in the Alphabetical section. Y=^2+5x-7 find the vertex Which number is a perfect square? 15 or 4 what is the purpose of writing a topic sentence Which sentence would most likely be found in a cause-and-effect text?O The US quarter is a popular coin that comes in many varieties.O By saving money over time, kids can afford big purchases.O Coin collecting is a popular hobby for people of all ages.O The Lincoln penny was the first example of a presidential coin. Find m2H.E81A. 81B. 162C. 89D. 99 What are sets and how can they be represented ? 50 points the question is in the picture. When a country (or a person) borrows money to pay yearly debt they are involved in this type of spending.surplus spendingC. consumer spendingb. deficit spendingd. corporate spendinga. lim x tends to 2 , then what is the value of (tanx + cotx) ( tanx - cotx)