You have this code in your program.

from array import *
K = array('b',[10, 5, 2, 7])

Which line of code will add 12 to the array?

Answers

Answer 1

Answer:

K.append(12)

Explanation:

From the question, the array name is K.

In python, to add to an array, you make use of the following syntax.

[array-name].append(value)

In this case:

[array-name] = k

and the value to be added is:

value = 12

So, we have:

K.append(12)


Related Questions

Question 29 :What is the term for the part of a browser responsible for reading and processing programming languages

Answers

Answer:

The appropriate approach is "Interpreter".

Explanation:

An interpreter would be a computer application that is being used straightforwardly start executing application programs published using another one of the elevated languages of the computer.

There have been 2 criteria for selecting programs that are published throughout an elevated language. Just like:

To implement the program. Transfer the project across an interpreter.

Will GIVE BRAINLY
A list cannot use appendleft but a _____ can.


collection


deque


string


sequence

Answers

Deque, I now need 20 characters so... shsgufdhvuehugvuehvuhdvhhvueh

Answer:

deque

Explanation:

deque

PLEASE HELP!
Which of these algorithms will move the robot along the same path as the algorithm below?

Answers

Answer:

D

Explanation:

The algorithm which will move the robot along the same path as the algorithm below is:

Option D

According to the given question, we are asked to show the algorithm which will move the robot along the same path as the algorithm below and how it would affect the computational process.

As a result of this, we can see that from the first algorithm, there is a command for the movement forward three times, rotate left, move forward and then rotate right which would take the robot to the same path as the displated algorithm.

Therefore, the correct answer is option D

Read more here:

https://brainly.com/question/20270335

A sequential algorithm is broken into three stages
Sequential Algorithm Time

Download stage: 1 minute
Sorting stage: 6 minutes
Upload stage: 1 minute
A parallel version of the algorithm completes the sorting stage in parallel leading to a new set of times
Parallel Algorithm Time

Download stage: 1 minute
Sorting stage: 2 minutes
Upload stage: 1 minute
What is the speedup of the parallel solution?

A. 6 minutes
B. 4 minutes
C. 2
D. 3

Answers

Answer:

2

Explanation:

1+6+1=8

1+2+1=4

8/4=2

The qustion is asking for the parallel solution speadup.  It is a common mistake to give the speedup for for just the sorting stage 6/2=3.

The correct option is D. 3.

The calculation is as follows:

Parallel speedup represent the proportion of the time taken to determine something on a single processor versus the time taken to find out same thing on 'P' number or processors parallely.

Hence speedup = T1 ÷ TP.

Speedup = 6 ÷ 2

= 3.

Learn more: brainly.com/question/17429689

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

num = num % 4
if (num == 1):
print ("A")
elif (num == 2):
print ("B")
elif (num == 3):
print ("C")
elif (num == 4):
print ("D")
else:
print ("E")
If the user enters 5 what is output? _____________

Answers

So, 5 is intered.

Line 1: num will recieve the integer 5

Line 2: Blank

Line 3: num will recieve 1, wich is the remainer of the division of 5 by 4.

Line 4: will return true, since num is indeed equal to 1.

Line 5: Will print "A"

Line 6: Will return false

Line 7: Gets jumped

Line 8: Will return false

Line 9: Gets jumped

Line 10: Will return false

Line 11: Gets jumped

Line 12: Will return false

Line 13: Gets jumped

The only OUTPUT is "A".

formulas in excel start with​

Answers

Answer:

They usually start with the equal sign (=)

Explanation:

   </3 PureBeauty

Nolan attempted to open a Word document that contains a macro and received a security warning stating, "Macros
have been disabled." The warning contains the button "Enable Content."

What should he do?

A. Close it immediately and delete the file,
B. Check where the file originates from, and if it is a trusted source or his own document, click Enable Content,
C. Close the file and right-click and rename it before opening it again,
D. Keep the file open and save it with a different file name, disabling the warnings.

Answers

Answer:

B. Check where the file originates from, and if it is a trusted source or his own document, click Enable Content.

Explanation:

Answer:

B

Explanation:

How many comparisons will be done to find 8 in this list using a linear search?

2, 4, 6, 8, 10, 12

Answers

Answer:

I think 4 comparisons

D Question 9 What is output by the following?
print("Twinkle, \ttwinkle, \tlittle star") A.Twinkle, twinkle, little star
B.Twinkle, twinkle, little star
C.Twinkle,
twinkle,
little star
D.Twinkle, \ttwinkle, \tlittle star​

Answers

twinkl twinkle little start UwU

Which type of sharing of Word documents is problematic because it produces multiple versions of a file automatically?

A. email
B. OneDrive
C. SharePoint
D. file server

Answers

Answer:I would say D, buuuuuut im probably wrong

Explanation:

D.file server I think

I’ll give Brainly if u answer all please
ASAP

Answers

Answer:

Answers are: 38, 135, 23, 209, 53 & 181 respectively

Explanation:

Does anyone know what these two things are?

Answers

Cd and headphones :)

Answer:

CDs/DVDs and a headset.

Kevin is working in the Tasks folder of his Outlook account. Part of his computer screen is shown below.

Outlook tasks

(I WILL PUT BRAINLIEST)How can Kevin view his appointments and calendar?

by clicking on Tasks in the Navigation Pane
by clicking on the To-Do Bar on the right of the screen
by clicking on the View tab at the top of the screen
by clicking on Manage Task in the Ribbon

Answers

Answer:

D

Explanation:

Which step in the software development life cycle involves making improvements based on user feedback?

Coding
Design
Maintenance
Testing

Answers

Answer:

Maintenance is the answer

You are sending Secret information to a colleague located at another office. You want to give him some background information and decide to attach a letter of transmittal. You include your name, a short greeting, an unclassified description of the project, and when you expect the project to be completed. No other information is included. What special markings must you apply to the letter of transmittal

Answers

Answer:a special marking that u and your collegue

most likely know ig

Explanation:

The special markings must you apply to the letter of transmittal is a declaration stating that "the letter is Unclassified when isolated from classified contents."

What is Secret information?

Information is said to be Secret information that is considered quite personal or confidential and which is not shared with anybody else except the receiver at their current position.

The standard marks given to all classified material keep the information's owner aware of the severity of the objects in his or her care and alert him to the document's importance.

Due to their role in providing accurate identification and direction for future perspectives on downgrading or declassification, all classified information and documents require suitable protection.

Learn more about special markings, here:

https://brainly.com/question/27872830

#SPJ5

Gina, an IT professional, noticed that the servers were running very slowly. She evaluated the system and made a recommendation to the workers at her company to improve the performance of the system. She told them that the most important thing they could do to help was to _____.


stop opening attachments

delete unneeded e-mail

log off the system for at least two hours each workday

limit the number of e-mails they replied to each week

Answers

Answer:

delete unneeded e-mail

Explanation:

this will free up space

delete unneeded e-mails

Explanation:

once you delete unneeded emails you wont have an risk for an slower functioning work day

The following code will not compile. Which of the options below would allow the code to compile and run as intended?

if (x >= -10 and <= 10):
print("In range")

Answers

Answer:

Follows are the code to this question:

x=int(input())#use input method with int that takes integer value from user-end  

if (x >= -10 and x<=10):#defining if block that checks x in between -10 to 10

   print("In range")#print message

Output:

6

In range

Explanation:

In this code, the choices were missing that's why the solution to this question can be defined as follows:

In this, x variable using the input method with the int, which takes integer value from the user-end. In the next step, the if block is used, that checks x value lies on between the -10 to 10, to check this condition it used the and logical operator, that run the code when both conditions are true, and at last, it prints the message "In range".

Lets do a who know me better! 5 questions! if you get 4\5 you get brainliest or a 3\5 but anything below u dont get it!


How old am I?

Do I like Summer or Winter?

Whats my name? (You guys should get this.)

What grade am I in? (Its between 4th and 8th).

How many siblings do I have? ( its between 2 and 5)

Good Luck!

Answers

Answer:your 13

you enjoy winter but still like summer

Skylar

either 7 or 8th

3 siblings

Explanation:

The Musthave Shoe Company recently learned that its customers have had difficulty using its website because it does not render correctly in their web browsers. The Musthave Shoe Company has a team of four website developers who work on the company's website. When examining the website the developers discovered that each person used the code he or she was most familiar with. How should they edit the code to correct this problem

Answers

Answer:

The should edit the code by making it to conform to single W3C HTML standard.

Explanation:

There's an HTML standard that's recommended by by the world wide web consortium which is also known as "W3C" for short. So for them to correct this problem, they will need to edit it to conform to that W3C HTML standard

Which statement is true?

You cannot create an empty deque.

You need to import the deque methods in order to use a deque.

You can use popleft with a list.

You need to import list methods in order to use a list.

Answers

Answer:

The answer to your question is B. I hope this helps. Have a wonderful safe day. <3<3<3

Explanation:

The right end of the queue can have elements added using the append() function, while the left end of the queue can have elements added using the appendleft() method. Thus, option B is correct.

What import the deque methods in order to use a deque?

The ability to add and remove items from the left end is one of deque's main advantages over a list. As was already indicated, a deque object is significantly more effective for these actions at the left end, especially as the queue size grows.

In a data structure, dequeue Both the input and output queues are constrained. Data can only be added from one end of an input restricted queue, but it can be removed from both ends.

Therefore, The most popular list-like data types in computing, queues and stacks, are implemented elegantly, efficiently, and Pythonically using deque, a low-level and highly optimized double-ended queue.

Learn more about deque here:

https://brainly.com/question/29733589

#SPJ2

ADVENTURE BOOKS 123
time 4 a story and questions
(this is just a made up story........)

One groggy day The President shows up on the news and he starts arguing with the news woman and he tells her he wants to be the one who informs everyone and guess what? thats what happened.so he walks up to the camera and spills the beans this is what he said Fellow humans i figured you would like to hear this news ........
26harrisona avatar
we are going to have to go into lockdown so if you would like to leave the state you may,.................
ADVENTURE BOOKS 123
time 4 a story and questions
(this is just a made up story........)

One groggy day The President shows up on the news and he starts arguing with the news woman and he tells her he wants to be the one who informs everyone and guess what? thats what happened.so he walks up to the camera and spills the beans this is what he said Fellow humans i figured you would like to hear this news ........we are going to have to go into lockdown so if you would like to leave the state you may,.................cov-id is going to become the ap-ocal-yp-se ......(you)so you have decided to go to an island that is called ----------- (made up name.....)cov-id is going to become the ap-ocal-yp-se ......(you)so you have decided to go to an island that is called ----------- (made up name.....)so you gather your supplies you can chose (20) things only 20 you have to name everything before you leave the state .

Answers

haha, interesting story.

which part of a computer is responsible for executing the software programs?
Select one
a. Peripheral
b. Hard Drive
c. CPU
d. RAM

Answers

Answer:

c. CPU

Explanation:

What kinds of objects might benefit from the use of the Loop Cut and Slide tool, and why? In your own words, how does edge loop manipulation “work?”

Answers

Answer: it doesn’t. The demons are coming

One aspect of
is satisfied when a user understands how to use a program.
O accessibility
O reliability
O performance
O learnability
NEED ASAP!!!!!!!

Answers

Answer: learnability

Explanation:

Edg 2021

Answer:

Answer: learnability

Explanation:

RIGHT ANSWER GETS BRAINLEST

Complete the code.

You are writing a loop to allow the user to enter data until they enter a "Q". You want to allow them to enter an upper- or lowercase "Q".

if yourTeam.
() == "q":
break


The options they give are:
Upper
Compare
lower

Answers

Answer:

sir i beleive lower is your answer, i know it isnt upper.

Explanation:

:D

Answer:

lower

Explanation:

i just did the quiz and got it right :)

Which are viable channels of communication? the Internet, sign language, playing a video game alone, talking, taking a solitary walk​

Answers

Answer:

The Internet, sign language, and talking

Explanation:

Which discipline would be most likely to study and experiment with new technologies like artificial intelligence? software engineering computer science information technology computer engineering

Answers

Answer:

Information Technology

Explanation:

The discipline that would obtain the most benefit from new technologies such as Artificial Intelligence would be Information Technology. The amount of information that exists on the internet is staggering. Artificial Intelligence works by obtaining as much information as possible, learning from the data gathered, and manipulating the data as needed. This allows Information Technology developers to find patterns in data sets, create virtual assistants, automate tasks, find connections in the data, etc. Therefore, bringing a vast number of benefits from studying and experimenting with such technology.

Answer: Computer Science

Explanation:

Computer Science includes the development of many advanced computing solutions. It permits the adaption of new technologies and new ideas. Artificial Intelligence itself was coined in 1955 to introduce a new discipline of computer science.

I hope this helped!

Good luck <3

Which of the following is an advantage of using
the sort procedure? Check all that apply.
preserves cell formatting and formulas
saves time
deletes extraneous data
avoids copy-paste
organizes data so it is easier to draw
comparisons
navigates to a specific page, table, or object

Answers

Answer: preserves cell formatting and formulas

saves time

avoids copy-paste

organizes data so it is easier to draw comparisons

Explanation: just did it

The advantage of using sort procedure is that it saves time and organizes data so it is easier to draw comparisons.

What is sort procedure?

Sort procedure is the process by which data or elements are being arranged in a particular kind of order for an easy access.

The importances or advantages of Sort procedure in data preparation are:

to save the user's time and

organizes data so it is easier to draw comparisons.

Therefore, the advantage of using sort procedure is that it saves time and organizes data so it is easier to draw comparisons.

Learn more about data here:

https://brainly.com/question/25720881

#SPJ2

Explain why configuration is essential in planning a project.

Answers

Answer:

Configuration management system helps in managing versioning of project management plans, documents and project components. This system may include Change Control System. Because the major cause of taking a new version for a component, document or plan in a project is a change

Please helpppppppppppppp

Answers

Answer:

its D

Explanation:

The social worker likes to work with other people, so he/she might not like working alone.

Other Questions
According to the chart on page 5, what is true of solar energy? 5 Addition Problems that gives u 100 coach made a deposit of $1,800 into an account that earns 2% simple interest.Find the amount of interest coach made in 3 years A rabbit eats grass. In this activity, the grass functions as a: Solve for x and then determine the measure of the exterior angle. In 8 weeks, a hair salon gave 1,536 haircuts. The salon gave the same number of haircuts each week. How many haircuts did the hair salon give each week? Where do I plot the dots at? what is the x-intercept of the line 5x-2y=10 a.5b.0c.2d.-10 What is an example of an extrusive land forms 16. Which of the following is a specialized skill for soccer? (1 point) O striking with an object Othrow-in galloping forearm pass If an element has 12 protons, 13 neutrons, and 15 electrons, what is its mass? what is 1738-69+42+1738+pie-69+21 Cholesterol is an important biomolecule precursor for hormones. What functional group(s) are present How do stories look different than a traditional essay? answer fast pls iiiiiiiiiiiijhgghjjhffgjjhhgfffgggfgggffffffffghh What did the house of representative vote for? explain how the removal of thermal energy (heat) from matter affects its particles Select the linking verb and the predicate noun or predicate adjective. exposition, climax , complication, falling action , resolutionWhat are their importants If you convinced your teacher to give you an extension on an assignment, what would this situation be an example of? OA. Generalization O O B. Prediction C. Drawing conclusions D. Rhetoric