how to print the output of "WELCOME" by using python codes with arrays.

Answers

Answer 1

Answer:

Following are the code to this question:

arr=['WELCOME']#defining list arr and assign string value

print (str(arr)[2:-2])#use print method that uses slicing to remove bracket and quotes

Output:

WELCOME

Explanation:

The Array data type is used to store the same type of value, but in python, the array is not used, instead of using an array we use the list, that stores multiple data types.

In the above code "arr", that is list is declared, that store a string value.    

To print its value, we use the print method, inside this, we use slicing to remove brackets and quotes.


Related Questions

A user has multiple web pages open and is using email. Which layer of the Transmission Control Protocol/Internet Protocol (TCP/IP) model is responsible for sorting the data to send email and web pages to the appropriate location

Answers

Answer: Transport layer

Explanation: The Transmission Control Protocol / Internet Protocol both combine to aid aod transmission of data through the internet. While the Transmission control protocol handles the establishment and Maintainace of network connection through applications , the Internet Protocol handles how the established data is being sent. The Transmission Control Protocol is forms a part of the transport layer which aids in the data transmission m ensuring that data is sent to the correct source. The transport layer is able to avoid errors as it ensures that established c is nnectio is maintained until data exchange is complete.

explain the term creating in word processing​

Answers

Answer:

Explanation:

Word processing describes creating or editing a document using a word processor such as Microsoft word, etc For example, a student could create a book report in a word processor application.

Mark is the network administrator in his building and is responsible for training all the new technicians on various troubleshooting techniques. He is instructing them on documenting their actions at the end of the troubleshooting process. What should he NOT encourage them to document at that time

Answers

Answer:

See answer below

Explanation:

He should not encourage his new technicians to document theories that were followed at the end of the troubleshooting process. This because the theory might not add to their knowledge about troubleshooting. What is paramount and needed to be documented for future references are their findings, actions taken by them and the outcome achieved through the whole troubleshooting process.

In trouble shooting, a technician aims at solving problems on computer system by following a set of steps such as establishing theory of probable cause, testing the theory to determine the cause, establishing a plan of action and implementing the solutions; in order to determine and solve the problem.

The theories here are the steps that were followed in determining and solving the observed issues hence should not be documented except the findings, actions taken and the final outcomes that were achieved.

A(n) ________ backup backs up only the files on a computer that have changed since the last time a backup was performed.

Answers

Answer:

incremental

Explanation:

An incremental backup backs up only the files on a computer that have changed since the last time a backup was performed.

Difference between switch case and if else statement.​

Answers

Answer:

SWITCH CASE:

STATEMENT WILL BE EXECUTED IS DECIDED BY USER.

SWITCH STATEMENT EVALUATES ONLY CHARACTER OR INTEGER VALUE.

IT USING SINGLE EXPRESSION FOR MULTIPLE CHOICES.

IF - ELSE STATEMENT.

STATEMENT WILL BE EXECUTED DEPEND UPON THE OUTPUT OF THE EXPRESSION INSIDE.

IF THE STATEMENT EVALUATES INTEGER, CHARACTER, POINTER OR FLOATING- POINT TYPE OR BOOLEAN TYPE.

IF USING MULTIPLE STATEMENT FOR MULTIPLE CHOICES.

HOPE IT HELP....

Complete the body of the format_name function. This function receives the first_name and last_name parameters and then returns a properly formatted string. Specifically: If both the last_name and the first_name parameters are supplied, the function should return like so:

Answers

Answer:

Here is the Python program:

def format_name(first_name, last_name):  #function definition of format_name that takes first_name and last_name as parameters

   if first_name != '' and last_name != '':  #checks if first_name and last_name both are not equal to " "

       return ("Name: " + last_name + ", " + first_name)  #returns first name and last_name in format: "Name: last_name, first_name"

   elif first_name != '' or last_name != '':  #checks if either of the first_name or last_name is not equal to " "

       return ("Name: " + last_name + first_name)  #returns first name and last_name in format: "Name: last_name" or "Name: first_name"

   else:  #if both names are blank

       return ''  #return ""

 

Explanation:

The working of the above function can be checked by using the following statements:

print(format_name("Ernest", "Hemingway"))  

print(format_name("Voltaire", ""))  

print(format_name("", "Madonna"))  

print(format_name("", ""))

The program has a function format_name which takes two strings i.e. the first_name and last_name as parameters and returns the formatted string.

The first if condition checks if both the first_name and last_name are blank. For example if first_name = "Ernest" and last_name= "Hemingway" this means both the first_name and last_name are not blank or empty. So If this condition evaluates to true then the following statement is returned:

return ("Name: " + last_name + ", " + first_name)

This returns the last_name string first followed by a comma in between and then first_name string in the last. For the above example the string is printed in the following format:

Name: Hemingway, Ernest    

The elif condition checks if either of the first_name or last_name is blank. For example if first_name = "Voltaire" and last_name= "" this means last_name is blank or empty. So if this condition evaluates to true then the following statement is returned:

return ("Name: " + last_name + first_name)  

This returns the last_name string. For the above example the string is printed in the following format:

Name: Voltaire          

IF none of the above condition is true and both the first_name and last_name are blank then the following statement is returned

return ''  

This will just print and blank space in output.

The program and its output is attached.            

The availability of the appropriate compiler guarantees that a program developed on one type of machine can be compiled on a different type of machine.A. TrueB. False

Answers

A true because for an example do you have a computer and you want and you got a new one and you just want to put everything that was on the computer on it you can just switch the data and then automatically it will go on the other computer.
hope this helps

The properly marked source document states: (C) Operation Panda will take place on 29 September. The new document states: (C) On 29 September, Operation Panda will commence. What concept is used to derivatively classify the statement in the new document?

Answers

Answer:

The answer is "Contained in"

Explanation:

Its term refers to the classified information of the extraction process, even though outlined in an authorized categorization instruction origin without extra explanation or review, and incorporates these data in a new document.

In this concept, the information appears in the extracted word-for-word, its definition of 'in' will apply, or if its data has been paraphrased or restated from the current text, that's why we can say that this concept derivatively classifies the statement in new documents.

Give two examples of a large databases that might be used to help members of the public

Answers

Answer:

Examples of large database that might be used to help members of the public are;

1) Apple Healthkit, Carekit and Researchkit

2) IBM Deep Thunder

Explanation:

1) The use of medical aid wearable devices that give instant data feed into the the a patients electronically stored health record has become possible and include the listed Apple technologies that enable the iPhone get instant access and feed back on individual health records

2) Large databases are used for weather forecasting by the processing of big data with the aid of very powerful computers by IBM Deep Thunder, which can also forecast natural disasters and the likelihood of wreckage in utility lines.

(Rocks Mineral
When limestone undergoes several changes, it forms
2
(marblelse
PA
For
the
are underground natural resources.
3. Metals are extracted from their
4. Molten rock inside the earth is called
5.
is used in making glass.
L
(magmalla
(Limestone/Sla
Yo
# Science-5​

Answers

Answer:

TENDRIAS QUE PONER LA PREGUNTA MEJOR

Explanation:

Which of the following stores the operating system?
O Von Neumann center
O Bluetooth center
O the cloud
O random access memory

Answers

Answer:

The Cloud

Explanation:

Clouds are basically computers offsite.  The cloud is used for many things, Like storage, to running applications which needs an operating system to work. Just like the device you are using right now to use Brainly. It needs an operating system to install a web broswer or app to acess a service. Hope this helps!

How can artificial intelligence be used in learning science?

Answers

Artificial intelligence can be used to help science students research and verify their research. It is also a very interesting topic to study in general.

Hope that helped!!! k

write fade in shorthand​

Answers

Answer:

"Fade In is a Class Act" Macworld says: "Fade In makes it easy to just write...It has all the features you'd find in the more expensive apps, such as Final Draft and Movie Magic Screenwriter, and there's even free and paid iPhone, iPad, and Android apps available

Explanation:

An IT firm came across a startup company that offers a new system of computer storage. It is currently in the experimental phase. Which aspect of the technology will the firm consider before adopting it?
a
internal storage
b
graphics
c
physical features
d
commercial potential

Answers

Answer:

d . commercial potential

Explanation:

The commercial potential of the technology would be a very important detail to look at before purchasing the new system of computer storage from the startup company.

This is important because the IT firm would be eager to know how the market would accept the product when it is launched. If the public does not like the product, then the firm would suffer a loss, this is why it is paramount.

Put these operating systems in order according to the date they were released. (The first to be released would be
number 1, and the last to be released would be number 5.)
1. 1
Windows 7
2. 2
Windows 2.0
3. 3
MS-DOS
4. 4
Windows XP
5. 5
Mac OS
NEXT QUESTION
ofron un

Answers

1. ms-dos 1981
2. windows 2.0 1987
3. windows xp 2001
4. mac os 2001
5. windows 7 2009

You administer your company's 100BaseTX Ethernet network. TCP/IP is the networking protocol used on the network. You want the routers on the network to send you notices when they have exceeded specified performance thresholds. Which protocol should you use to enable the routers to send the notices

Answers

Complete Question:

You administer your company's 100BaseTX Ethernet network. TCP/IP is the networking protocol used on the network. You want the routers on the network to send you notices when they have exceeded specified performance thresholds. Which protocol should you use to enable the routers to send the notices?

Group of answer choices

A. ARP

B. SMTP

C. SNMP

D. Telnet

Answer:

C. SNMP.

Explanation:

In this scenario, you administer your company's 100BaseTX Ethernet network. TCP/IP is the networking protocol used on the network. Also, you want the routers on the network to send you notices when they have exceeded specified performance thresholds. Hence, you should use the SNMP to enable the routers to send the notices.

SNMP is an acronym for simple network management protocol, which is a standardized application-layer protocol that is used for monitoring and organizing management information about network devices on either a wide area network (WAN) or local area network (LAN).

Basically, the SNMP helps to provide a common language for network devices such as switches, routers, printers, servers etc to share information with a network management system.

A simple network management protocol (SNMP) is part of the Transmission Control Protocol and Internet Protocol (TCP⁄IP) suite.

Which of the following commands allows the user to round the edges off the selected segments?
Rotate
Stretch
Linetype
Filet

Answers

Answer:

rotate

hope it helps

Explanation:

to round the edges off selected segment rotate can do it

To reduce the potential for repetitive stress injury you should use proper?
Select the 3 that apply.

Answers

Anyone that you can find

You upgrade your office graphics workstation with more memory. You replace two of the four inexpensive memory chips with expensive memory designed for workstations but now the system occasionally has memory issues. What could be the problem

Answers

Answer:

the two other inexpensive memory chips don't calibrate with the two expensive memory chips because they're not the same

Explanation:

What type of edge does UML use to denote interface implementation? Group of answer choices A dotted arrow from the interface to the class terminated with a triangular tip. A dotted arrow from the interface to the class terminated with an open arrow tip. A dotted arrow from the class to the interface terminated with an open arrow tip. A dotted arrow from the class to the interface terminated with a triangular tip.

Answers

Answer:

A. A dotted arrow from the class to the interface terminated with a triangular tip

Explanation:

Learning how to use software takes time. So, after customers have learned to use a particular software package, it is easier to sell them software upgrades than to convince them to switch to new software. What implications does this conclusion have for expected rates of return on R

Answers

Answer:

This implies that software firms

can develop upgrades with a lower cost and less risk than they can develop a new product.

A device is a program that must be installed in order for the peripheral device to be able to
work with the computer or laptop.
O prompter
O connector
O driver
O assister

Answers

Hii ! Soooo I think the suitable option for this one would probably be connector and also I had to look up a connector and I really think it could be the answer! If not I am sooo sorry for wrong one aha

In most cases; for a peripheral to work properly, a software must be installed on the computer, the peripheral is to be connected to.

The software is called (c) device driver

Some peripherals (such as mouse, keyboards, external Bluetooth, joysticks etc.) require that the user of the computer installs device driver on the host system.

Without the device driver installed, the following are the possible effects

The peripheral will not work at allThe peripheral will not function properlyThe peripheral causes the computer not to function optimally

Hence, (c) driver is correct

Read more about device drivers at:

https://brainly.com/question/14308161

What is the output of the following C++ code? int list[5] = {0, 5, 10, 15, 20}; int j; for (j = 0; j < 5; j++) cout << list[j] << " "; cout << endl; Group of answer choices 0 1 2 3 4 0 5 10 15 0 5 10 15 20 5 10 15 20

Answers

Answer:

what?

Explanation:

what is the importance of personal computers in connecting to the internet ?
^please I need an answer, PLEASE ^​

Answers

Answer:

if you dont you wont be able to do school work or check your email

Explanation

Answer:

security because it very important when we use internet

Convert
1. 116° to K
2. -39° to K
3. 450K to C° ​

Answers

1 389.15 kelvins
2 234.15 kelvins
3 176.85 degrees celsius

What do you mean by Bandwidth? Pls give full explanation

Answers

Answer:

In computing, bandwidth is the maximum rate of data transfer across a given path. It can be characterized as network bandwidth, data bandwidth, or digital bandwidth.

Explanation:

c. Compare Mainframe and Minicomputers with their key features



plzzz help ​

Answers

Answer:

Mainframe computer:

The size of the disk is large.

They have large memory storage.

The speed of processing is fast in comparison to minicomputer.

They are more expensive.

Minicomputer:

The size of disk is small.

They have less memory storage in comparison to mainframes.

Their processing speed is less in comparison to mainframes.

It is not as expensive as mainframes.

Explanation:

I hope this will help you

1) To point the lens of a camera up or down is called:
A) Arc
B)Dolly
C)Pan
D)tilt

Answers

Answer:

D)

Explanation:

Tilting is a cinematographic technique in which the camera stays in a fixed position but rotates up/down in a vertical plane.[1] Tilting the camera results in a motion similar to someone raising or lowering their head to look up or down. It is distinguished from panning in which the camera is horizontally pivoted left or right. Pan and tilt can be used simultaneously.[2] In some situations the lens itself may be tilted with respect to the fixed camera body in order to generate greater depth of focus. [3][4]

The camera's tilt will change the position of the horizon, changing the amount of sky or ground that is seen.[5] Tilt downward is usually required for a high-angle shot and bird's-eye view while a tilt upward is for a low-angle shot and worm's-eye view. The vertical offset between subjects can reflect differences in power, with superior being above.

An objective of the __________ is to provide a standardized set of I/O interface routines to user processes. Select one: a. working directory b. file management system c. indexed file allocation d. file directory Clear my choice

Answers

Option b (file management system) is used to provide a set of input/output interface.

A software package that focuses on providing numerous user-friendly features including productivity applications as well as file manipulations, respectively, would be termed as the file management system.

The other given alternatives such as:

Option a (Working directory) - The directory users are functioning in at present.Option c (Indexed file allocation) - The techniques of assignment dictate how documents have been saved on a disc.Option d (File directory) - A file storage place on your desktop.

These options are not connected to the given question. Thus the above answer is the correct one.

Learn more about the file directory here:

https://brainly.com/question/2170165

What are the three major tasks does a computer perform?​

Answers

Ans:

Input, processing, and output.

The three major tasks a computer performs are Input, processing, and output.

What are the tasks of a computer?

These tasks exist all connected to the four basic computer functions: input, output, processing, and storage.

Taking data and instructions from a user, processing the data as per instructions, and showing or storing the processed data, exist the four main functions of a computer.

To learn more about computer

https://brainly.com/question/24540334

#SPJ2

Other Questions
Solve the following system of equations using the elimination method. x y = 11 2x + y = 19 can u help me with this? Solve the following numerical problems. a) A load of 400N is lifted up by an effort of 100N. If load distance is 20cm, what will be the effort distance? (Ans: 80cm) b) Two boys, Shrijan having weight 600N and Shrijesh having weight 300N are playing see-saw. If Shrijan is sitting at 2m from fulcrum, where should Shrijesh sit from fulcrum to balance Shrijan?(Ans: 4m) c) A lever of length 1m has been used ttoko lift a load of 600N by applying an effort of 200N. If load is at 20cm from fulcrum, calculate mechanical advantage, velocity ratio and efficiency. (Ans: MA = 3, VR = 4, n=75%) d) Study the figure below and find the value of effort. (Ans: 120N) Muyn) 2.5m 600N 0.5m ? Science and Enyin What is the maximum speed with which a 1200-kg car can round a turn of radius 94.0 m on a flat road if the coefficient of static friction between tires and road is 0.50? Which group of people would be the most concerned about the operating areas that have contributed to the success of the firm and which have not? Algebra II Part 1On your paper, graph these coordinates:(-1, 1), (-5, 2)Type the correct equation of the line.Note: Do not use fractions in your answer. Cheryl earns (p+3) dollars per hour. In 8 hour she earns ___ dollars. A man died leaving property worth 49000 for his three daughters and a son. Find out the share of each in inheritance? Please explain and help afternoon/shopping/usually/the/in/he/go/doesn't (frequency adverbs) recorrect the Jumble word Which of these means of assessing candidates generally has the lowest correlation with subsequent performance?A. Cognitive ability tests. B. Job knowledge tests. C. Unstructured interviews. Suppose two firms are in a game situation, and they each must decide on a strategy regarding whether to select a high price or a low price. Profits for a firm are highest when it selects a low price, while the other selects a high price; profits are lowest if one selects a high price, while the other selects a low price; profits are in between when both select low prices; and profits are slightly higher when both select high prices. In the absence of collusion we expect:________ The poles experience 6 months of daylight and 6 month of darnos . The sun is never higher than 23.5 degrees above the horizon . Use one or both of these ideas as evidence to explain why the season are most extreme at the poles How could you use the above search in your research?Answer correctly pls for BRAINLIST In Young's 2-slit interference experiment, the wavelength of laser light can be determined. The two slits are separated by 0.16 mm. The screen is 1.4 m from the slits. It is observed that the second bright band is located 11 mm from the center of the pattern. Given this information, what is the wavelength of the laser light? a. 1258 nm b. 419 nm c. 500 nm d. 629 nm What effect does exercise have on the nervous system?A Prolonged exercise degenerates the nervous system.B. Increased blood flow reduces nerve sensitivityC. Repetitive motion develops nerves and nerve endings.D Higher body temperature impairs nerve message transmissions. You have just joined the project management office after five years of working on projects. One of the things you want to introduce to your company is the need to create and utilize WBSs. Some of the project managers are angry that you are asking them to do "extra work". Which of the following would be the BEST thing you could tell the project managers to convince them to use WBSs?a. Tell them that it is not needed b. Tell them it is required only if the project involves contracts. c. Tell them it is the only way to identify risks. d. Tell them it will prevent work from slipping through the cracks Spring is the mischief in me, and I wonder If I could put a notion in his head: "Why do they make good neighbours? Isn't it Where there are cows? But here there are no cows. Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offence. Something there is that doesn't love a wall, That wants it down." Now read "The Pasture," also by Robert Frost. Im going out to clean the pasture spring; Ill only stop to rake the leaves away (And wait to watch the water clear, I may): I shant be gone long.You come too. Im going out to fetch the little calf Thats standing by the mother. Its so young, It totters when she licks it with her tongue. I shant be gone long.You come too. Which best accounts for the different views of spring expressed in the poems? A mass m = 0.3 kg is released from rest at the origin point 0. The mass falls under the influence of gravity. When the mass reaches point A, it has a velocity of v downward and when the mass reaches point B its velocity is 5v. What is the distance between points A & B divided by the distance between points 0 & A? Factor each of the following perfect square trinomials. X^2+5+6 20 points