This is your data.
A= [5, 10, 15]
B = [2, 4, 6]
C = ['dog','cat', 'bird']
You can implement an array of this data with

Answers

Answer 1

Answer:

This is your data.

A =  [5, 10, 15]

B =  [2, 4, 6]

C =  ['dog','cat', 'bird']

You can implement an array of this data with  

either by using lists or by using the array module

ALSO

This is your code.

>>> A = [ 'dog', 'red']

>>> B = [ 'cat', 'blue']

>>> C = [ 'fish', 'green']

You can implement an array of this data by using  

by using lists but not by using the array module

Explanation:

Edge2020

Answer 2

A= [5, 10, 15],  B = [2, 4, 6], C = ['dog','cat', 'bird']. You can implement an array of this data either by using lists or by using the array module.

What is an Array?

An array is a type of data structure used in computer science that holds a set of elements that are all uniquely recognized by at least one array index or key. Each element of an array is recorded such that a mathematical formula may be used to determine its location from its index tuple.

Indexed arrays, multidimensional arrays, and associative arrays are the three types of arrays.

A procedure called indexing selects a subset of values from an array. A value's position inside an array is indicated by its index. The location of the value in an array differs from the value itself.

To read more about Array, refer to - https://brainly.com/question/14375939

#SPJ2


Related Questions

How does the technology work

Answers

Answer:  it does – or perhaps appears to do – in the world.

Explanation:

sorry if am not right have a nice day lol

Answer: technology work by chips wires in the botton of it or in the back of it and there metel in it they wire thing to it to make it better like phon

Which of the following is NOT a peripheral?
Keyboard
USB storage drive
Printer
CPU

Answers

USB is the answer to your question
a CPU is NOT a peripheral device because a computer system cannot work without a CPU.
A peripheral device is used to put information into and get information out of the computer.

Any device that uses light to read and write information.

A. Optical Drive

B. Peripheral Device

C. Laser Device

D. Optical Device

Answers

I think Optical Drive does.

Answer:

the answer is optical drive

Explanation:

hope that helps thanx optical drive uses reflected light to read data.

How much data can be transmitted with a digital signal?

Answers

Answer:

two possible

Explanation:

In most digital circuits, the signal can have two possible valid values; this is called a binary signal or logic signal. They are represented by two voltage bands: one near a reference value (typically termed as ground or zero volts), and the other a value near the supply voltage

Use the drop-down menus to complete the steps to open the Lookup Wizard.

1. Open the table in ___
view.

2. Click in the ___
column of the desired field.

3. Click the ___
, and then click Lookup Wizard.

Answers

Answer: 1. design view 2. data type 3. arrow

Explanation:

I just did it :)

You wrote a program to allow to guess a number chosen randomly.

How did you check to see whether the guess was equal to the correct answer?

if guess
BLANK
answer:

A: ==
B:!=
C:=

Answers

I think that it is A as well

edhesive 6.8 lesson practice answers please ​

Answers

Answer: any more info yo can give me. i want to help i dont undestand

Explanation:

Answer:

import simplegui

import random

# global constants

WIDTH = 600

HEIGHT = 400

PARTICLE_RADIUS = 5

COLOR_LIST = ["Red", "Green", "Blue", "White"]

DIRECTION_LIST = [[1,0], [0, 1], [-1, 0], [0, -1]]

# definition of Particle class

class Particle:

  # initializer for particles

  def __init__(self, position, color):

      self.position = position

      self.color = color

  # method that updates position of a particle    

  def move(self, offset):

      self.position[0] += offset[0]

      self.position[1] += offset[1]

  # draw method for particles

  def draw(self, canvas):

      canvas.draw_circle(self.position, PARTICLE_RADIUS, 1, self.color, self.color)

  # string method for particles

  def __str__(self):

      return "Particle with position = " + str(self.position) + " and color = " + self.color

# draw handler

def draw(canvas):

  for p in particle_list:

      p.move(random.choice(DIRECTION_LIST))

  for p in particle_list:

      p.draw(canvas)

# create frame and register draw handler

frame = simplegui.create_frame("Particle simulator", WIDTH, HEIGHT)

frame.set_draw_handler(draw)

# create a list of particles

particle_list = []

for i in range(100):

  p = Particle([WIDTH / 2, HEIGHT / 2], random.choice(COLOR_LIST))

  particle_list.append(p)

# start frame

frame.start()

Explanation:

I need help with this program. I need code for this . Java if statements Determine the amount of discount a person should receive. If the bill is more than 2000, then the person should receive a 15% discount. If the bill is 2000 dollars or less, the person does not receive a discount of any kind. Sample Data: 500 2500 4000 333.33 95874.2154 Sample Output= Enter the original bill amount :: 500 Bill after discount :: 500.00 Enter the original bill amount :: 2500 Bill after discount :: 2125.00 Enter the original bill amount :: 4000 Bill after discount :: 3400.00 Enter the original bill amount :: 333.333 Bill after discount :: 333.33 Enter the original bill amount :: 95874.2154 Bill after discount :: 81493.08

Answers

Answer:

The program in Java is as follows:

import java.util.Scanner;

public class MyClass {

   public static void main(String args[]) {

     double bill;

     Scanner input = new Scanner(System.in);

     System.out.print("Enter the original bill amount : ");

     bill = input.nextDouble();      

     if(bill>2000){

         bill-=0.15*bill;

     }

     System.out.println("Bill after discount: " + bill);

   }

}

Explanation:

This declares bill as double

     double bill;

This lets the program accept input

     Scanner input = new Scanner(System.in);

This prompts user for the original bill amount

     System.out.print("Enter the original bill amount : ");

This gets the bill from the user

     bill = input.nextDouble();      

This checks if the input bill is greater than 2000

     if(bill>2000){

If yes, the bill after discount is calculated as follows:

         bill-=0.15*bill;

     }

This prints the bill after discount

     System.out.println("Bill after discount: " + bill);

You are going to do a bubble sort on the following list. What are the missing members of the list? Select 3 options.
[10, 3,
12
0.005
dog
3,5
'cat'
Hellllpppp

Answers

The bubble sort makes multiple passes through a list. It compares adjacent items and exchanges those that are out of order. Each pass through the list places the next largest value in its proper place. In essence, each item “bubbles” up to the location where it belongs.

[3,5,'dog', 'cat']  are the missing members of the list . Hence option d, e and f are correct.

What is bubble sort?

Bubble sort is defined as the most straightforward sorting algorithm, which continually switches nearby elements if they are out of order. Until no swaps are required, the passing operation is repeated, signifying that the list is sorted.  Bubble sort is well-known in computer graphics because it can find a very minor defect in almost-sorted arrays and fix it with simply linear complexity (2n).

This question would be something you would know since your teacher has taught you it previously, but until you show me the entire lesson, it will probably just be a guessing game. 11 12 22 25 34 64 90 is a sorted array, and I've seen "dog" and "cat" used in coding multiple times.

Thus, [3,5,'dog', 'cat']  are the missing members of the list . Hence option d, e and f are correct.

To learn more about bubble sort, refer to the link below:

https://brainly.com/question/13161938

#SPJ2

Identifying Responses and Replies
Use the drop-down menus to complete the sentences about message response options in Outlook.
v sends your response to everyone who received the initial email.
v creates a new message that includes the initial message to a new recipient.
v sends your response to only the sender of the initial message.

Answers

Answer:

Identifying Responses and Replies by using the drop-down menus to complete the sentences about message response is written below in detail.

Explanation:

A situation like this may be:

Someone receives a bike. They travel it and all, and then all of an unexpected they fall and get injured

If you only understood the first section of how the person received a bike when you draft a response, you would only draft about that piece, but getting harm after receiving the bike is also a huge portion of the "story". You could draft like how you were so pleased when you received your first bike, but you wouldn't remember to address the time you got injured when you were riding down a hill or something.

Answer:

Reply All

Forward

Reply

Explanation:

Any device that uses light to read and write information.

A. Optical Drive

B. Peripheral Device

C. Laser Device

D. Optical Device

Answers

Answer:

Optical Storage Device

How much mail can be
stored in each mail box?​

Answers

Answer:

Most mailboxes are 1 - 4 GB with one or two larger.

Explanation:

What might the Internet of Things do in the future?

Answers

The future of IoT has the potential to be limitless. Advances to the industrial internet will be accelerated through increased network agility, integrated artificial intelligence (AI) and the capacity to deploy, automate, orchestrate and secure diverse use cases at hyperscale.

Jason works for a restaurant that serves only organic, local produce. What
trend is this business following?

digital marketing
green business
e commerce
diversity

Answers

Answer:

green buisness

Explanation:

green business because it’s all natural and it’s organic

A histogram titled Greeting card sales has date on the x-axis and cards (millions) on the y-axis. January is 1 card, February: 11, March: 1, April: 1, May: 9, June: 7, July: 1, August: 1, September: 1, October: 9, November: 7, December: 12. The histogram shows the monthly sales for a greeting card company in one year. Which best describes the data for May–June and October–December? clusters no frequency gaps symmetry

Answers

Answer:

Clusters

Explanation:

Given

The histogram

Required

What does May-June and October-December represents

The data for May-June is:

[tex]May: 9[/tex]

[tex]June: 7[/tex]

For October-December, it is:

[tex]October: 9[/tex]

[tex]November: 7[/tex]

[tex]December: 12[/tex]

Notice that these data are close to each other.

This implies that they are clusters

Answer:

the answer is a

Explanation:

View which is used to specify the tables fields , their data types and properties ​

Answers

Answer:

i am hina i am grade 12 C

Explanation:

my siater name os sana

Answer:

There are 2 basic views when you work in a table: Design View and Datasheet View. Design View is used to set the data types, insert or delete fields, and set the Primary key.

Hope it helps..

Have a great day : )

The role of the
protocol is to make sure communication is maintained.
FTP
IP
ТСР
HTTP

Answers

Answer:

Tcp

Explanation:

I need to calculate the % of Grand Total on Microsoft Excel, but can't for the life of me remember how to do that. Help would be greatly appreciated.

PS: Reposting my question because the answers I got previously were both only made for points, not to help in any way. :(

Answers

Answer:

You need to first use the Sum function to add up all the costs of September.

Then divide each September cost by the grand total that you got. After that format the last column to be percentages.

Look at the attached file for the formulas used.

Please help w/ Java, ASAP!!!!

Answers

Answer:

B

Explanation:

When you have a method that is copying values from one array into another, you first have to initialize a new array which you can copy the values into. This is done by using the provided value "count".

   int [ ] nums = new int [count];

Second, you have a "for each" loop that iterates over each index in the first array, and assigns the value at that index to the same index location in the copy array. In a "for each" loop, the variable "val" represents the content of an index, not an iterated value itself. This is why we can just do this inside the loop:

  nums[ j ] = val;

That said, you still need "j" to be there and increment because we still need a tracking value for the current index in the copy array.

   int j = 0;

   for (int val: array)

   {

     copyArray[j] = val;

    j++;

   }

Third, you return the copy version of the array.

return nums;

Source:

I am currently a second year Java student.

Which of the following programming languages were initially developed to teach programming techniques to students? Choose all that apply.

Answers

Answer:

BASIC programming language

Pascal programming language

Explanation:

C++ programming language

Java programming language

BASIC programming language

Pascal programming language

Answer:

it's C and D

Explanation:

In 1-2 Sentences, Explain how you would open a new Word processing Document

Answers

Explanation:

first you open word processing app. then in the home screen you will see start a new document then you start one.

Based on the following passage on construction technology during the Middle Ages, why might a worker not be allowed to join a guild?
During the Middle Ages, a family worked in a trade for generations, with fathers training sons and passing knowledge along bloodlines.
Masons learned how to carve elaborate gargoyles; glaziers made intricate stained-glass windows. These skilled workers were organized into
guilds, and on a construction site, guild workers were highly esteemed while lower-level unskilled workers completed simple routine tasks.
All laborers were paid.

He did not pass the necessary exams to qualify for guild membership

He had signed a contract forgoing payment in exchange for on-the-job training.

He was not born into a family of skilled laborers

His specialty did not fall under masonry or glazing.

Answers

Answer:

He was not born into a family of skilled laborers

Explanation:

In Outlook 2016, the Tell Me function can be accessed by
O pressing F1 on the keyboard.
clicking on the File tab, then the question mark button.
typing a query in the textbox on the ribbon.
typing "help" in the search box in the message pane.

Answers

In Outlook 2016, the Tell Me function can be accessed by

O pressing F1 on the keyboard.

clicking on the File tab, then the question mark button.

typing a query in the textbox on the ribbon.

typing "help" in the search box in the message pane.

Explanation:

I think it should be typing a query in the textbox on the ribbon.

In Outlook 2016, the Tell Me function can be accessed by clicking on the File tab, then the question mark button. The correct option is B.

What is Outlook?

The preferred email client for sending and receiving emails from Microsoft Exchange Server is Microsoft Outlook. Accessibility to contact, email, calendar, and task management tools is also provided by Outlook.

You can send and receive emails, manage your calendar, save the names and phone numbers of your contacts, and keep track of your projects using Outlook.

Even if you utilize Outlook on a daily basis, you might not be aware of all the wonderful things it can do to boost your productivity.

By selecting the File tab, then the question mark button in Outlook 2016, you may open the Tell Me feature.

Thus, the correct option is B.

For more details regarding Microsoft outlook, visit:

https://brainly.com/question/26695071

#SPJ2

What should you do first when designing a program?

Answers

Answer: talk about da progrm

Explanation:

Answer:

Step-by step Explanation:

HELP! WILL GIVE BRAINLYEST!
Complete the sentence describing an analog signal.
An analog signal is a continuous signal, transmitted in the form of sine waves of varying
______.

Answers

Answer:

An analog signal is a continuous signal transmitted in the form of sine waves of varying amplitude

Explanation:

An analog signal is a step varying analog waveform that conveys information in a manner that is continuous in both amplitude and time

An analog process is one whose signal continuously varies, maintains a basic shape, and is transferable between mediums such that information is conveyed by analog signals based on analogy, which is one quantity tending to mimic another quantity's behavior

Signals of sound, voltage, data, voltage, or electric current can be transmitted as analog signals

You created a two-dimensional array with the following code.

>>> A = [21, 'dog', 'red']
>>> B = [35, 'cat', 'blue']
>>> C = [12, 'fish', 'green']
>>> E = [A, B, C]
How do you refer to 'cat'?

E[1, 2)

E[1,2]

E[1][2]

E[1,2]

Answers

Explanation:

My answer is E[1][1]

but I don't see it here

Answer:

E[1][2] that is correct I just took t

For which of the following situations would it be best to use a heuristic in order to find a solution that runs in a reasonable amount of time?
A Appending a value to a list of n elements, which requires no list elements be examined.
B Finding the fastest route that visits every location among n locations, which requires n! possible routes be examined.
c Performing a binary search for a score in a sorted list of n scores, which requires that fewer than n scores be examined.
D
Performing a linear search for a name in an unsorted database of n people, which requires that up to n entries be examined.

Answers

Answer:

The answer is "Option B".

Explanation:

In this question, determining the optimal path between several locations, which requires n!. It's also examining possible routes. It could just suggest here, designers need to do those equations as we have several forms. They have several methods to find the best and efficient path. Its basic idea is to use heuristic approaches for complex or uncertain issues so we do not provide proven solutions for linear programs.

The situation that should be best to use a heuristic in order to find a solution that runs in a reasonable amount of time is option B.

The following information should be considered:

For measuring the optimal path that lies between several locations that needs n!.It also examine the possible routes. It consist of various methods for determining the efficient path.

Learn more: brainly.com/question/17429689

HELP ASAP!!! What portfolio document is most likely to speak of your soft skills?
cover letter
transcript
recommendations
resume

Answers

Answer: resume

Explanation:

Answer:

recommendations was the right answer

Explanation:

what is the binary for O?​

Answers

Answer:

01001111

Explanation:

Answer:

0000 0000

Explanation:

What are the first letters of each of the 3 main colors in javaScript? (seperate with commas)

Answers

Answer:

R, G, B

Explanation:

Red, Green, Blue

Other Questions
Review the term "sociological imagination". Through the lens of that definition, analyze your introduction and your life in general and/or family members in terms of race, class, age, and other factors. What 'evidence' can you find that society guides our lives? In other words, what similarities do you find? What differences? And, if there are more differences than similarities, can you hypothesize as to why? What are myths? Select 3 correct answers. Question 1 options: A. stories that are ancient B. stories that are complex C. stories that tell an accurate history D. stories passed down through generations Question 2 (1 point) How is the myth of Rama and Sita incorporated into the Indian holiday of Diwali? Question 2 options: E. Candles are lit to remember how Rama and his wife found their way home. F. Pictures of Rama and Sita are displayed. G. People take a three-day trip to remember Rama's exile. H. People walk home in the dark to remember Rama and Sita. Question 3 (1 point) Saved Why were myths created? Question 3 options: I. to honor great leaders J. to provide explanations of life and the larger world K. to entertain young children L. to entertain young childrenPLS GIVE ME THE RIGHT ANSWERS AND THIS LANGUAGE ARTS Easy area question Need fast Why was Sam Houston not elected for a second consecutive term?Can someone please help me ASAP!! I will give brainliest to the person who is correct Colonization is to economic,religious,and political,as exploration is to claim land Why did Africans want independence from European colonial rule? * Sophia scored 33 points in a basketball game. She scored four more two point baskets than three point baskets. Write a system equations in standard form that models this situation. How many three points baskets did Sophia make? Which statement best describes the influence of Brahmanism on the early development of Hinduism? Hinduism combined the practices of Brahmanism and Aryanism. Hinduism kept many of the core beliefs of Brahmanism but rejected the practices. Hinduisms core beliefs and practices come from the beliefs and practices of Brahmanism. Hinduism rejected nearly all of the beliefs of Brahmanism but incorporated the beliefs of Aryanism. Explain the basis for the great diversity of proteins in living organism. Simplify these rational expression. x^4+5x^3-2x^2+1/x^2+1 Health disparities among U.S. racial/ethnic groups are evident by the fact that ____.A) Asian Americans have the highest rate of U.S. infant mortalityB) Black women have the highest rate of U.S. infant mortalityC) White women and men have a lower life expectancy compared with their black counterpartsD) Native American males are most likely to die from homicide The students at Southern Junior High School are divided into four homerooms. Benjamin just moved into the school district and will be randomly assigned to one homeroom.Which methods can be used to simulate this situation? Select THREE OPTIONS....A. Flip a coin 4 times, once for each homeroom, with heads up representing being assigned to the homeroom represented by that flip.B. Draw a marble from a bag containing 5 white marbles, 5 black marbles, 5 red marbles, and 5 green marbles, with each color representing a different homeroom.C. Use a random number generator with 1, 2, and 12 representing the first homeroom, 7, 9, and 10 representing the second homeroom, 3, 8, and 11 representing the third homeroom, and 4, 5, and 6 representing the fourth homeroom.D. Roll a number cube with 1 representing the first homeroom, 2 representing the second homeroom, 3 representing the third homeroom, and any other outcome representing the fourth homeroom.E. Spin a spinner with 8 congruent sections with 2 sections assigned to each homeroom. What do you think the secretary of commerce would advise the president about ? What pushes artists to create works of art? You earn 4x+12 points after completing x levels of a Vedio game and then lose 2x-5 points. Write an expression that represents the total number of points you have now there is a ratio of 5 girls to 3 boys in the chorus.there are 24 boys in the chorus.how many girls are in chorus The Atacama Desert is covered with:Stone Find the equation of the line shown a contractor hired 150 men to pave a road in 30 days how many men would he hire to do the same work in 10 days