Consider the following code:


grid = []


grid.append (["frog", "cat", "hedgehog"])

grid.append (["fish", "emu", "rooster"])

What is output by:


print (grid[0][0])
also these two
print (grid[1][2])
print (grid[0][1])

Answers

Answer 1

Answer:

print(grid[0][0]) = frog

print(grid[1][2]) = rooster

print(grid[0][1]) = cat

Final output:

frog

rooster

cat

Explanation:

grid[0][0] is the first item in grid[0], which is "frog".

grid[1][2] is the last/third item in grid[1], which is "rooster".

grid[0][1] is the second item in grid[0], which is "cat".

Simply add 1 when dealing with list indexes, that's all you need to do!

Answer 2

In Python, the list is a mutable, or changeable, ordered series containing elements. so, the output of the given python program code is "frog, rooster, and cat".

Program explanation:

Defining an empty list that is a "grid".Inside the list, the append method is declared which adds string value to the list.In the next line, three print method is used that calls the list values.In the first print method, it calls the first index value "0,0" which is "frog".In the second print method, it calls the second index value "1,2" which is "rooster".In the third print method, it calls the first index value "0,1" which is "cat".

Output:

Please find the attached file.

Find out more about the list in python here:

brainly.com/question/17019263

Consider The Following Code:grid = []grid.append (["frog", "cat", "hedgehog"])grid.append (["fish", "emu",

Related Questions

I need help with this question. asap please

Answers

Answer:

what are you talking about

Explanation:

can you help me with my question

Pls help me with the following i need it fast guys ols fast ASAP​

Answers

Answer:

ASAP means as soon as possible

help him don't take his time

Explanation:

in that empty line there should be the number given below on the html

Someone want to do a project for me, I will give 1000 points to you if you do it

Just let me know, and I'll make a new question with the assignment

Answers

It depends on what it is.

the way of placing text between the margins of a place is called ​

Answers

Vertical alignment determines the position of the text within a section of a document relative to the top and bottom margins, and is often used to create a cover page.

Cuales son las 4 caracteristicas de desarrollo tecnologico especializacion integracion dicontinuidad cambio

Answers

Answer:

La tecnología es el conocimiento y el uso de herramientas, oficios, sistemas o métodos organizativos, con el objetivo de mejorar el desarrollo de los distintos procesos productivos humanos. La palabra tecnología también se utiliza para describir los conocimientos técnicos que existen en una sociedad.

La tecnología tiene efectos importantes. Por ejemplo, está en el corazón de las economías avanzadas (incluida la economía mundial actual) y se ha convertido en un componente central de la vida cotidiana y el ocio. Las innovaciones en tecnología influyen en los valores de una sociedad y, a menudo, plantean cuestiones éticas. Por ejemplo, la aparición del concepto de eficiencia en términos de productividad humana, o nuevos desafíos dentro de la bioética.

Which type of software is used for marketing research as a way to find out about users' preferences?

adware

freeware

shareware

spyware

Answers

Answer:

Adware

Explanation:

It's software that displays advertisements to users and gauges their preferences

I need help ASAP please and thank you!

Answers

Answer:

Best: 1 or 4

Worst: 3

Explanation:

I'm not sure if number one is imply to ask your coworker to explain it or actually help with the workload. I think 4 would be the right answer because that is what they are there for and you don't want to distract your coworkers.

How can we use parameters to give the computer more specific instructions?

Answers

Answer:Parameters in programming allow a method to take in important info. This info can be used  in the program to make a specific action.

Contact Us Save
line Drivers Ed:
cript
Menu
Which are ways that you can prevent
microsleep?
ple Response
Drink caffeinated beverages
Drive only when rested
Avoid mental and physical exertion before driving
Engage your passengers in conversation while driving
Drive only during the day
Eat a high-protein diet
Maintain a consistent sleep schedule
Check all that apply then click the "submit" button below.

Answers

All except drinking caffeinated beverages:)))

HELP ME PLEASE ASAP
Which file format would be best for transferring contacts from one program to another?
1. The .cnt format
2. The .exl format
3. The .pst format
4. The .csv format

Answers

Answer:

csv

Explanation:

got it right on edge

Answer:

csv and pst

Explanation:

which one is easiest language of computer​

Answers

Answer:

I think (Q/Basic)

hope it helps

it is for me

hahaha

State Whether the given statement are TRUE OR FALSE. 13X1=13

23] The result of any condition is true ,false or unknown.

24] The WHILE and UNTIL can be placed at the end of DO….LOOP.

25] When a program contains a loop , it means it can repeat statements only

once.

26] The first version of visual basic was VB. Net

`27] The name of the form 1 dialog box which appears by default can be

changed .

28] The Error window opens when there are some coding mistakes.

29] E.F Codd proposed the first type of relational database model.

30] there is a way to rename the tables in Access.

31] One row will have one unit of complete information .

32] The text can be only numerical

33] currencies cannot be stored in Access

34] A number of list items go within the <ul> tags give right​

Answers

Answer:

true

Explanation:

because everyone know that 13x1=13

I need help ASAP please and thank you!

Answers

Answer:

D) CALM.

Explanation:

A conflict can be defined as any form of disagreement that arises between two or more parties due to opposing views, opinions, or incompatibility.

CALM is a 4-step process for addressing and defusing conflict.

These four step process for conflict resolution or defusing conflicts includes;

I. Clarify (C): this involves finding out more information about what caused the conflict.

II. Ask (A): you should ask the opposing party about the issues while being polite.

III. Listen (L): listen attentively to get more information.

IV. Move forward (M)

Name any three areas of of application of excel.

Answers

Answer:

Data entry and storage.

Collection and Verification of Business Data

Accounting and budgeting

Wish this helps:)

Write a program that asks the user how many freebees they would like to buy then prints out the total cost

Answers

Answer:

Explanation:

The following code is written in Python and does exactly what is requested by the question. It asks the user how many freebes they would like using an input method, saves that value to a variable called number_of_freebies. Then it multiplies that variable by the cost of each feebie (assuming its $2 each) to get the total cost. Finally, printing out the total cost.

number_of_freebies = input("how many freebies would you like to buy? ")

cost_of_freebie = 2

total_cost = number_of_freebies * cost_of_freebie

print(total_cost)

write a program to input a number.Find the sum of digits and number of digits

Answers

omg a computer program

i love it

okay so i will assume taht you want the program to be in python

here we go

a = int(input("Enter a number ")

b = int(input("Enter another number ")

sum = a + b

def Digits(sum):

count = 0

while sum != 0:

sum //= 0

count += 1

return count

print(f"Sum is {sum} \nnumber of digits are {Digits(sum)}")

Answer:

#Sum of Digits

a = int(input("Enter a number: "))

sumofdigits = sum(int(dig) for dig in str(number))  

print("Sum of digits: ", sumofdigits)

# Number of digits

count = 0  

print ("Total number of digits : ",len(str(abs(a))))

Explanation:

It is pretty self-explanatory however, I will tell it to you anyways. So, the sum of digits iterates to each digit and adds them up. For the number of digits, it uses in-built functions (length, string and absolute)

Can someone tell me why I turn my mix on everyday and today I turned my computer on, put my headphones on and my mix started playing...

Answers

Answer:

LOL FELT THAT

Explanation:

Answer:

must have been a lucky day

Explanation

Copy and paste is the only way to move text from one place to another.

True or
False​

Answers

Answer:

False

Explanation:

The reason I would consider this to be false is because you can also CUT and paste. Cutting is different from copying. When you use ctrl+x it cuts the words, and then you can use ctrl+v to paste them. When you are copying, you use ctrl+c and then ctrl+v to paste. Hope this helps

Answer:

false his answer OK false

ITEMS
Evan spent 25% of his money on rent and g on food, together his
expenses totaled to $75.00. Calculate the total amount of money Evan had​

Answers

Answer:

Total money he had = $136 (Approx.)

Explanation:

Given:

Spend on rent = 25%

Spend on food = 30%

Total of expenses = $75

Find:

Total money he had

Computation:

Total money he had = [Total of expenses][100/ (Spend on rent + Spend on food)]

Total money he had = [75][100/ (25 + 30)]

Total money he had = [75][100/ (55)]

Total money he had = 136.36

Total money he had = $136 (Approx.)

HELP ASAP!! Prompt what is Columm

Answers

Answer:

A column prompt is the most common and flexible prompt type. A column prompt enables you to build very specific value prompts to either stand alone on the dashboard or analysis or to expand or refine existing dashboard and analysis filters.

Explanation:

:)

What is the code for drawing a hexagon on python programming?

Answers

Answer:

In this article, we will learn how to make a Hexagon using Turtle Graphics in Python. For that lets first know what is Turtle Graphics.

Turtle graphics

Turtle is a Python feature like a drawing board, which let us command a turtle to draw all over it! We can use many turtle functions which can move the turtle around. Turtle comes in the turtle library.The turtle module can be used in both object-oriented and procedure-oriented ways.

Some of the commonly used methods are:

forward(length): moves the pen in the forward direction by x unit.

backward(length): moves the pen in the backward direction by x unit.

right(angle): rotate the pen in the clockwise direction by an angle x.

left(angle): rotate the pen in the anticlockwise direction by an angle x.

penup(): stop drawing of the turtle pen.

pendown(): start drawing of the turtle pen.

Approach –

Define an instance for turtle.

For a hexagon execute a loop 6 times.

In every iteration move turtle 90 units forward and move it left 300 degrees.

This will make up Hexagon .

Below is the python implementation of above approach.

The measured values of a sensor must first be processed by which of the following prior to sending
to a computer?
A. an ADC
B. a DAC
Ca CPU
D. a PLD​

Answers

Answer:

A. an ADC

Explanation:

A sensor can be defined as a device designed to detect changes or events within its immediate surroundings and then transfers this data to the central processing unit of a computer.

Simply stated, a sensor is an input device that detects changes in its environment and sends the data to another electronic device. Thus, this data must be converted by an analog to digital converter (ADC) into a digital format that is understandable by the central processing unit (CPU) of a computer.

Hence, the measured values of a sensor must first be processed by the analog to digital converter (ADC) prior to sending to a computer.

Some examples of sensors are light sensors, tactile sensors, metal sensors (detector), etc.

Which of the following best describes today’s average gamer?

The average age is eighteen, and many more males play than females.
The average age is thirty, and only slightly more males play than females.
The average age is thirty, and many more males play than females.
The average age is eighteen, and only slightly more males play than females.

Answers

The correct answer is A

what are the steps involed in accepting all the changes in a document?

click edit
click accept or reject
click changes
click accept all ​

Answers

Answer:

I. Click edit.

II. Click changes.

III. Click accept or reject.

IV. Click accept all.

Explanation:

In Computer programming, software developers usually designed and develop a box-like area attached to all software applications or programs and file explorer for the completion of various tasks by the end users such as requesting for additional information, presentation of extra informations or modification (changing) information in a document.

The sequential steps involed in accepting all the changes in a document includes;

I. Click edit: this is to allow you have access to the dialog box where a document's property can be changed or modified.

II. Click changes: you select the change (s) you want to effect on the document such as read-only, full control, hidden, etc.

III. Click accept or reject: you either select the accept or reject option after choosing a change.

IV. Click accept all: this saves the choice of the user by either overwriting the previous settings or maintaining the change, if it was rejected.

it converts Assembly Language into machine language?​

Answers

Answer:

An assembler.

Explanation:

Input is (as with any programming language) files with lists of instructions (typically assembler mnemonics), output is a binary format representing these instructions in machine language.

How Mobile App work? Explain​

Answers

Explanation:

Mobile Applications are moving away from the embedded software systems normally found on PCs.Instead,each application provides limited and isolated functions,such as a game,a calculator or mobile web browing.

Kelly wants to change the text in a cell so that it is centered instead of left-aligned, where should she look to make this
formatting change?
A) the data group
B) the alignment group
C) the design tab
D) the page layout tab

Answers

Answer:

c

Explanation:

I don't know if it's correct

make me brainlist

HELP!!!
Your friend is taking images from all over the internet without giving credit to the sources. He tells you that it’s no big deal, and no one will know or care, anyway. Help your friend by explaining why it is important to follow copyright laws when photos are needed.

Answers

Answer:

It is Important because, you could be in Jail for no giving the credit for the rightfully owner Also it is by Law to Tag his/her law.

Explanation:

Answer:

It is important to follow copyright laws when photos are needed because if you didnt take the photo yourself then you can get in really big trouble maybe even sued depending on the situation.Even in general, you need to say that the photos arent yours because you're stealing some one else's  works. you can also go to jail for it

Explanation:

taking credit for something in general that you didnt do is never a good thing it makes you look bad.

What is the help and tips tab used for?


A.Students can click these tips in the instruction areas of lessons.

B.Highlights the code corresponding to a web page element when hovered over in the Preview Area.

C.Contain text and diagrams explaining the content. These are intended as helpful student resources, not class readings.

D.This tab contains all of the relevant videos and map levels for a particular level.

Answers

Answer:

C. Contain text and diagrams explaining the content. These are intended as helpful student resources, not class readings.

Question 15 of 25
If there is a decrease in the money supply that causes prices to fall and leads
to deflation, what happens to money?
A. It changes from commodity money to fiat money,
B. It gains purchasing power.
C. It changes from fiat money to commodity money.
D. It loses purchasing power.

Answers

Answer:the guy above is right

Explanation:

I got the question right

The increase in the money supply that causes prices to rise and leads to inflation, loses purchasing power.

What is inflation?

Inflation has been refers to the persistent rise in the general prices of commodities in the economy over a period of time. If the prices of goods and services increase in an economy without an increase in income of people, it reduces the purchasing power of individuals.

This follows the law of demand which states that; the higher the price, the lower the quantity demanded; the lower the price, the higher the quantity demanded. If the prices of goods and services increase in an economy without an increase in income of people, it reduces the purchasing power of individuals.

Therefore, The increase in the money supply that causes prices to rise and leads to inflation, loses purchasing power.

Learn more about  economy on:

https://brainly.com/question/2421251

#SPJ7

Other Questions
help! i need to translate this Use replication in a sentence? At a camp there is sufficient food for 100 scouts for 12 days if 50 more scouts join the camp how long would the food last. ans plz fast Please help me solve this.(2x/3y) 1/3 of 18 Please someone help meee Steven purchases a bowl. The diameter of thebowl is 14 cm. What is the circumference of the bowl? ( use as 3.14 ) i need assistance!!! i'll give a brainiest. what is the probability that the spinner will land on an even number greater than two? 1/83/81/23/4 Rotate the following point (- 5, 7) with a 90 degree CCW rotation Can u all sove this Questiondescribe about rule and regulation of your society please help will give brainliest A cylinder shaped cup of mad Mike's macho mocha coffee has a height of 7.3 inches and a diameter of 3.6 inches. If the cup is filled to the top, what is the volume of the coffee in the cup? Round your answer to the tenths place. 8.7.A *74.3 in74.5 in74.1 in74.4 in Who were the Anti-Federalists?OA. A group that opposed the approval of the Constitution.B. The group that joined together to fight against slavery.C. A group that opposed taxation on exported goods.D. The group who were the founders of the Constitution. If lines a and b are parallel, which of the statements is true? PLEASE NEED HELP WILL CHOOSE BRAINLIESTAnswer Choices:23-974 Metaphor Meanings Worksheet (Part 1)[Animated image] A metaphor is a figure of speech that compares two things.Often times it uses the word is or wasDirections: For each metaphor given below, write what you think it means.Example A: Thoughts are a storm, unexpected.Answer: someone may have many unexpected thoughts at anytime1. He is a beast-____________________________________________________2. The noise is music to his ears-____________________________________________________3. He swam in the sea of diamonds-____________________________________________________4. His belt was a snake curling around his waist-____________________________________________________5. Love is a growing garland-____________________________________________________6. Your friendship is the picture to my frame-____________________________________________________ Please help with this question How many meters across is a road sign that has an angular size of 120 arcseconds and is 1 km away? HELP WORTH POINTS I NEED IT NOWThe scientific name of Animal #1 is Tortricidae archipsArchips roxanaTortricidae roxanacannot be determined from the chart Which organism has the largest biomass (Many bushes, several gazelles or one cheetah)? What was the little ICE AGE?