Word Separator
Write a program that accepts as input a sentence in which all of the words are run together but the first character of each word is uppercase. Convert the sentence to a string in which the words are separated by spaces and only the first word starts with an uppercase letter. For example the string "StopAndSmellTheRoses." would be converted to "Stop and smell the roses."

Answers

Answer 1

Answer:

Following are the code to this question:

value=input("Enter string value: ")#defining string variable for input value from user

val= ""#defining another string variable val  

i=0#defining integer variable and assign value 0

for x in value:#defining loop for proving spacing in value  

   if x.isupper() and i > 0:#defining if block to check value upper and greatern then 0

       val+= " "#proving spacing in string value

       val += x.lower()#convert another value into lower case

   else:#defining else block

       val += x#hold value in val variable

   i += 1#increment i variable value

print (val)#print value

Output:

Enter string value: StopAndSmellTheRoses

Stop and smell the roses

Explanation:

In the above python code, a string variable "value" is defined that inputs the value from the user end, and another variable "val" is defined for saving calculated value.

In the next step, for loop is declared, that uses if block to check input value and convert the input value first letter into uppercase and print all value with space. If the condition is false it will return the user input value.    


Related Questions

Which of the following statements is false? a. The Java API consists of packages. b. The Java API helps programmers avoid "reinventing the wheel." c. The Java API consists of import declarations. d. None of the above.

Answers

Answer:

The answer is "Option c".

Explanation:

In Java programming, the API stands for "application programming interface", which is also known as the lists of all classes in the JDK. It contains all packages, classes, and interfaces, with their techniques, fields. It is a built-in class, which gives the programmer a great deal of usability, and correct choices can be described as follows:

In option a, It is correct because it imports the package to use API. In option b, It allows you to "re-invent the wheel" by developers, that's why it is correct.

The GaVS resource where students can locate information regarding Canvas, student email, registration and O365 is called the: Student Success Site Media Center dashboard Guidance Center

Answers

I Inferred you are referring to the Georgia Virtual School resource program.

Answer:

Guidance Center

Explanation:

Interestingly, the Georgia Virtual School (GaVS) enables students access to Virtual education.

Their resource platform allows students to find information regarding Canvas, student email, registration and Office 365 etc by simply going Guidance Center.

While investigating a 4-year-old PC that is taking an unusually long time to boot, a technician discovers that the BIOS is rediscovering the hardware system at every boot. What should the technician do to resolve the problem

Answers

Answer:

learn and train it to make it boot faster

Explanation:

Well we know that the PC is old and it takes a long time to boot also the BIOS is rediscovering the hardware system at every boot so he should make it reboot and learn and train it to make it boot faster

Mental state shift involves what?

Answers

Answer:

It involves a matter involving doubt, uncertainty, or difficulty that may be solved, problem ... getting into a frame of mind to be creative and solve problems.

Explanation:

Hope i am marked as brainliest answer

which is most harmful computer virus define​

Answers

Answer:

Spyware is the most harmful virus.

It enters into someones computer as a spy and steals the ones personal information, data and other codes.

Explanation:

Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed.
​Andy wants the borders to be distinctly visible for each cell in the product details table. Which of the following properties must Andy add to his code to accomplish his goal?
A. ​border-spacing: length;
B. ​border-collapse: separate;
C. ​border-collapse: collapse;
D. ​border-spacing: initial;

Answers

Answer:

CSS documentation

Explanation:

Use this CSS reference to browse an alphabetical index of all the standard CSS properties, pseudo-classes, pseudo-elements, data types, and at-rules. You can also browse a list of all the CSS selectors organized by type and a list of key CSS concepts. Also included is a brief DOM-CSS / CSSOM reference.

Locatiopn: https://devdocs.io/css/

The properties that Andy must add to his code to accomplish his goal is (B), border-collapse: separate.

What is border-collapse?

The border-collapse property in CSS determines how the borders of table cells are collapsed. The default value of border-collapse is collapse, which means that the borders of adjacent cells are merged together. To make the borders of the cells in Andy's table distinctly visible, he needs to set the border-collapse property to separate.

The other possible answers are incorrect. The border-spacing property determines the amount of space between the borders of adjacent cells. The border-spacing: initial value sets the border spacing to the default value, which is 0 pixels.

Find out more on CSS properties here: https://brainly.com/question/14918146

#SPJ2

What are the types of computers?

Answers

Answer:There are 5 types of computers.

Explanation:(1)Super computer: are the fastest and expensive computer.super computer can do trillion calculations in every second.

(2)Mainframe: are similar to the super computers all use raw power focus on few tasks.

(3)Server computer: is a central computer that contain of collection data and program.

(4)Personal computer: is also known as a microcomputer.personal computer is all around can  be used as productivity tool.

(5)Work station: are expensive computers and more complex and are intended one user at a time.

Answer:

the four types of computers are;

personal computerMainframe computersuper computersMini computers

List any four routes of transmission of computer virus.
please give me answer​

Answers

Opening attachments or links from unknown or spoofed emails. note: shown above are two examples of how viruses can often appear as legitimate messages, but are designed to trick the computer user. ...

Downloading software from malicious sites. ...

Online Ads. ...

Social media. ...

Unpatched software.

follow me

The routes of the transmission of computer virus include:

Downloading infected files.Shared devices.Corrupt email attachments.Infected drives.

A computer virus refers to a malicious piece of computer code that is designed in order to damage a device or steal data.

The routes of infection for a computer virus include attached files, external storage media, downloading infected files, sharing infected devices, etc.

Read related link on:

https://brainly.com/question/19584310

Which statement about tensile stress is true? A. Forces that act perpendicular to the surface and pull an object apart exert a tensile stress on the object. B. Forces that act perpendicular to the surface and squeeze an object exert a tensile stress on the object. C. Forces that act parallel to the surface exert a tensile stress on the object. D. Forces that decrease the length of the material exert a tensile stress on the object.

Answers

Answer:

The correct option is;

A. Forces that act perpendicular to the surface and pull an object apart exert a tensile stress on the object

Explanation:

A material under tensile stress has axial forces tending to stretch the material and cause elongation. It is the force per unit area externally applied that results in stretching

The definition of tensile stress is the magnitude or amount of applied force on an elastic material divided by the cross-sectional area of the material perpendicular to the direction of the applied force

Therefore, the tensile stress comprises of forces that act perpendicular to a given surface pulling the sections apart.

1. Write a try-catch block. In try block, do the following thing: if the balance is less than 100, throw an InsufficientFund exception; else print out the message saying that there are enough money in the account. In catch block, simply print out the message saying that there is not enough money in the account.
2. Write a template function template
T max(T& variable1, T& variable2)
That returns the larger value of variable1 and variable 2.
Assume that class T has overloaded the operator >.

Answers

Answer:

(Assuming C++):

#1

try{

 if (balance < 100)

 {

   throw "InsufficientFund";

 }

 else

 {

   printf("Sufficient funds in account.\n");

 }

}

catch{

 printf("Insufficient funds in account.\n");

}

---------------------------------------------------------------------------------------

#2

template <typename T>

T max (T& variable1, T& variable2)

{

 return variable1 >= variable2 ? variable1 : variable2;

}

Explanation:

For this, the answer assumes the use of the C++ language since not specified in the problem.

For #1, the use of the try-catch statement is simply to check the value of the funds within an account.  The question ask to check if the balance is under 100, to throw an "InsufficientFund" exception to be caught by the catch loop.  Otherwise, print there is enough funds.  If the exception is caught, the catch loop should simply print insufficient funds to the console.  The above code accomplishes each of these things by assuming a variable called "balance" holds the value of the account and has already been declared.  Additionally, the code uses the printf function to display the messages to the screen (Assuming stdio.h header has been included).

For #2, a template function called max was created to determine if variable1 or variable 2 had a greater value, and return the greatest variable.  The code uses the ternary operator to test the expression greater than or equal to and returns variable1 if greater or equal, otherwise, it returns variable2.

Side note, I haven't coded in C++ in years so some syntax may be wrong, but either way this is the concept of the two questions asked (I think I'm syntactically correct though).

Cheers.

Question 3 of 10
What is one advantage of video tutorials about maintenance and repairs?
O A. Video tutorials help you fix problems by doing the work for you.
O B. Sometimes, seeing a picture of the process is more helpful than
reading about it.
O C. Video tutorials are easier to make than written guides.
O D. Video tutorials cannot do the repair or maintenance for you.
SUBMIT
PREVIOUS​

Answers

Answer:

B. Sometimes, seeing a picture of the process is more helpful than  reading about it.

Explanation:

Video tutorials are a form of communication in which the instructions are given through video instructions. The users drive more information from video tutorials than written or audio. The visual and the auditory aids together helps in creating a better impact on the users. The video tutorial is more user friendly and can easily be controlled by the user. This helps in better understanding and analyzing the information.

Answer: B. Sometimes, seeing a picture of the process is more helpful than reading about it.

Explanation: took the quiz

The best advice for setting a study session is

Answers

to take breaks and not do all the work at once.

Answer: A

Explanation:

Computer security is concerned with protecting information, hardware, and software from unauthorized use, as well as preventing or limiting the damage from intrusions, sabotage, and natural disasters.
a) true
b) false

Answers

The correct answer is True

Explanation:

Computer security is a branch of security that focuses on the security of computer systems. This includes preventing cyber attacks that could steal the information or damage the software (programming code), as well as, preventing physical attacks or damage, this includes stopping unauthorized personnel from accessing the computers or devices and limiting the damages that might occur in situations such as fires, floods, etc. Additionally, computer security is now an important factor in most companies and organizations as relevant information is saved in computers, also, many functions rely on the use of computer systems.

According to this, the statement about computer security is true because this comprises the protection of hardware, software, and information in cases such as natural disasters, intrusions, etc.

What is the role of bpo in growth of Indian economy ?

Answers

Answer:

BPO Role in India's Economic Growth

The role played by BPOs in boosting India's economy shows that the IT and ITeS sector have been contributing largely to the economic growth of India. The growth in the contribution of BPOs to Gross Domestic Product has shown a steady rise from 1.2% to 5.4%.

Which of the following is a true statement about milestones?
O A. Meeting milestones contribute to the meeting of a key deliverable.
O B. Milestones are the high level events or actions in a schedule.
O C. Milestones are a helpful but not essential part of a schedule.
O D. Most milestones concern the delivery of a product.

Answers

Answer:

B option

Explanation:

my stones are the high level events are actions in a schedule.

Are bpos safe for organisations ? State your views on it

Answers

Answer:

No

Explanation:

Business process outsourcing is the act of contracting aspects of a business that are considered secondary to third-party vendors. These aspects of the business could range from Information Technology to accounting or quality assurance. Business process outsourcing has its advantages and disadvantages.

While it ensures flexibility and cost savings in the business, I believe that;

1. Releasing sensitive information about a business to people who are not within the confines of a business, could result in a breach in data handling. Sensitive information can no longer be entirely controlled by the business owners once in the hand of outsourced contractors. Information might get into the hand of hackers who can compromise business activities.

2. Given that some BPO's might require sourcing workers from countries abroad, and also considering the fact that different countries have different criteria as to what constitutes data handling breaches, it might sometimes be hard to enforce safety standards.

3. Quality control might also not be easy to achieve, and could be worsened by language and communication barriers.

4. If the organizations do not track their expenses religiously, they might end up spending more on outsourcing than they would have with employees. This might because they underestimated the pricing.

To handle these safety issues, the business owners might have to develop some very stringent methods of regulating Business Process Outsourcing.

Paavo was reviewing a request by an executive for a new subnotebook computer. The executive said that he wanted USB OTG support and asked Paavo’s opinion regarding its security. What would Paavo tell him about USB OTG security

Answers

Answer:

Connecting a mobile device as a peripheral to an infected computer could allow malware to be sent to that device.

Explanation:

Since in the question it is mentioned that Paavo reviewed a request by an executive for subnotebook computer i.e new. but he needs to USB OTG support so it is a  USB i.e on the go that links the devices from one device to another

Therefore by links the mobile device to the computer i.e infected that allows malware we called virus so that we are able to send it to that device. By this,  he wants to tell about the USB OTG security

A user's computer will not boot. A technician notices four indicator lights on the backside of the
computer. Two of the lights are green, and two are amber. Which of the following documentation
should the technician read to determine what the lights are indicating?
A. Network diagram
B. Computer manual
C. Asset management
D. Wiring scheme

Answers

Answer:

B.

Explanation:

Computer manual is the user guide that comes along with the computer set to inform the users about the functions, ways to assemble the parts, and so on.

The user manual consists of guide for the users specially for electronic products such as computers, refrigerators; softwares, and so on. These manuals are written by technical writers, programmers, etc.

In the given scenario the technician needs to refer to computer manual to know the meaning of the lights on the backside of the computer.

So, the correct answer is option B.

Which of the following are examples of interpreted languages? Each correct answer represents a complete solution. Choose two. This task contains the radio buttons and checkboxes for options. The shortcut keys to perform this task are A to H and alt+1 to alt+9. A Markup B Compiled C Query D Scripted

Answers

Answer:

The answer to this question can be defined as follows:

Explanation:

The given question has more than one question and some of the choices are missing so, their correct solution and the question with the choices can be defined as follows:

1)

Interpreted languages:

The interpreted language is a kind of programming language, in which most of the applications carrying out instruction freely and openly, without having compiled a program. so, the types of the programming language are " PHP, Perl, Ruby, and Python"

2)

The answer is "Post a glossary or FAQ page".

explanation:

This section is used to covers the data. It is used as the goal of the company or business to obtain answers to these questions. Those who may also use your FAQ page for a first contact point for clients who are searching for answers before contacting you directly.

please find the attachment.

A virus does not harm the ________ of a computer

Answers

Answer:

Hardware part

Explanation:

The hardware part of computer is not harmed by virus.

I hope this will be helpful for you

Answer: Hardware part

Case-Based Critical Thinking Questions Case 1-2 Ted is asked to create a page containing his family photos for a family reunion website. He has about 20 pictures to post, with a caption that he wants to display before each one. Each picture is a group photo of a particular family. Which tag will Ted need to use to display the pictures

Answers

Answer:

Image tag or <img> tag

Explanation:

HTML refers to Hypertext Markup language. In this, we can be designed our documents by applying the font, color, image i.e to presented in the web browser. It is used for creating the webpages

Since in the question, Ted has approx 20 pictures for the post having caption and wants to display the picture so he needs to use the image tag or <img> for displaying the pictures. This tag is used for linking the images for the web pages you have created

A user calls the helpdesk and states that they are receiving an IP conflict error on their computer. The user is on a company network that uses DHCP. The technician verifies the PC is using DHCP to obtain TCP/IP settings. Which of the following commands should the helpdesk technician use to resolve this issue? (Select two.)
A. IPCONFIG /REGISTERDNS
B. IPCONFIG /FLUSHDNS
C. IPCONFIG /RELEASE
D. IPCONFIG /RENEW
E. IPCONFIG /ALL

Answers

Answer:

a

Explanation:

none

Which is an aspect of structural-level design? A. scaling B. player-adjusted time C. difficulty level D. radiosity

Answers

Answer:

D. radiosity

Explanation:

This is because in computers the definition of radiosity is an application of the elemental method of solving the equation for other particular scenes with surfaces that gradually reflects light diffusely.

Answer:

its d

Explanation:

im right

When an "is a" relationship exists between objects, it means that the specialized object has Group of answer choices Some of the characteristics of the general object, but not all Some of the characteristics of the general class, but not all, plus additional characteristics None of the characteristics of the general object All the characteristics of the general object, plus additional characteristics

Answers

Answer:

All the characteristics of the general object, plus additional characteristics

Explanation:

In case when an is a relationship exists between objects. Here is a relationship refers to a relationship in which there is a reference of one class to another class.

So this represent that the specialized object contains all the attributes of a general object along with it it also involved the extra attributes

Hence, the last option is correct

What process is used to convert numbers between the binary system and the decimal system? (A.)Enter the number in a calculator, divide by 2, and multiply by 10.,(B)Convert each binary number to a letter, then use the letter’s place in the alphabet as the decimal representation ( e.g., A = 1, B = 2),(C.)Add up the digits in the binary number and place the sum behind a decimal point,(D.)Look up the number on a binary-to-decimal conversion table.

Answers

Answer:

(D.)Look up the number on a binary-to-decimal conversion table.

Explanation:

Though there are other ways of converting binary-to-decimal but from the given list of options, the best option that describes this conversion is option D.

Analyzing each of the options;

Option A

A binary number can't be converted to decimal by merely dividing it by 2 and multiplying the result by 10;

Take for instance; 11 in binary;

Divide by 2

11/2 = 5.5

Multiply result by 10

5.5 * 10 = 55

This final outcome is incorrect; as 11 in binary = 3 in decimal

Option B

This is also incorrect because as there is no room for alphabets in binary representation of numbers

Option C

This will also give an incorrect result;

Take for instance 11

Add up the digits

1 + 1 = 2

Place a decimal point behind;

This gives 2. or 2.0

This final outcome is incorrect; as 11 in binary = 3 in decimal

Option D

Looking up the number on a conversion table gives the accurate result

There are different types of conversion process. The process used to convert numbers between the binary system and the decimal system is to Look up the number on a binary-to-decimal conversion table.

Binary to decimal conversion is often done to show a number that is listed out in binary number system to its equivalent usually in decimal number system.

For easy conversion, one can Divide the binary number by 2 and write out the remainder. Thereafter you can divide by 2  again and write remainder and this process continue till the last remainder becomes 1 .

After that write all the remainders in the (0 , 1)  order. With this, the decimal is converted into binary.

Learn more about binary from

https://brainly.com/question/4467709

Hector is trying to use Windows Defender to run an antivirus scan. Windows Defender refuses to run. When he opens the Action Center, Hector realizes that Windows Defender has been disabled and another antivirus software is running. Hector does not recognize the other antivirus software.
What type attack has infected Hector's computer?

Answers

Answer:

Rogue antivirus

Explanation:

A Rogue antivirus is a security software in which it misguides the users to pay for it so that the malware or virus could be removed from the computer but actually this is a malware which is installed in the computer system so that they could able to do fraud with the users

In the given situation, since Hector is trying for run Windows defender but it is disabled and on the other side the other antivirus software that infected the computer

Therefore this situation represents the rogue antivirus

i know this not school related but my grandmothers RCA RCT6272W23 tablet is saying type password to decrypt storage and i dont know what to do someone please help

Answers

Answer:

Type the password

Explanation:

It's probably trying to open some kind of compressed file to access data.

etwork behavior analysis system __________ sensors are typically intended for network perimeter use, so they are deployed in close proximity to the perimeter firewalls, often between the firewall and the Internet border router to limit incoming attacks that could overwhelm the firewall.

Answers

Answer:

"Inline" is the correct answer.

Explanation:

Network behavior analysis (NBA)  or Analysis of network activity seems to be the technique to observe traffic trends that aren't groups or sets throughout the cable network's everyday traffic. Simplest terms, this is the organization's effort to define network anomalies outside pure congested traffic expect a seamless.

So that the above is the correct answer.

_____ should be scanned for viruses

Answers

Answer:

Computers/laptops should be scanned for viruses.

Your question has been heard loud and clear.

People's blood , the plasma in the people's blood should be scanned for viruses.

Thank you owo

Brainly won't let me see any answers. I've been trying to check my answers for 45 minutes now. I am unable to see ANY answers at all. Please help. I really need to finish all my work by tonight. *URGENT*

Answers

Answer:

I'm having the same problem. I think it has something to do with the Honor Code

Explanation:

Other Questions
PLS HURRY, IS TIMED.Which of the following railroads was not one of the first four major railroads built in the Indian Territory? A. the Missouri-Kansas-Texas Railroad B. the Atlantic and Pacific Railway C. the Central Pacific Railroad D. the Chicago, Rock Island, and Pacific Railroad This problem is kinda hard can you help me Based on the graph below, what prediction can we make about the acceleration when the force is 0 newtons? A. It will be 0 meters per second per second. B. It will be 5 meters per second per second. C. It will be 10 meters per second per second. D. It will be 15 meters per second per second. What is the result of subtracting the second equation from the first? \begin{aligned} -2x+7y &= 10 \\\\ 3x+7y &= 2 \end{aligned} 2x+7y=10 3x+7y=2 conditions of equilibrium of parallel coplanar forces How is a galaxy different from a solar system? In the microarray analysis some genes, such as ERB-B2 and ESR1, have been found to be associated with particular disease or conditions such as cancer. Other genes, such as the ABC-B2 gene, are not associated with a disease but are involved in resistance to certain drugs or treatments. Why would it be useful to test for the expression of genes like the ABC-B2 gene on the microarray Read this excerpt from "Choreographers of Matter, Life, and Intelligence."With these three fundamental discoveries, triggered by the quantum revolution, the DNA revolution, and the computer revolution, the basic laws of matter, life, and computation were, in the main, finally solved.What is the authors purpose for including this statement? Some restrictionist, or people who are against immigration, argue that poor people shouldnt have babies if they cant feed them. Why do people from poorer countries like Mexico tend to have more children and go against? And is it really a threat to overpopulation? which of the following segments of the growth curve would starvation proteins be at their highest detectable levels? is the perpendicular bisector of . What is the length of ? A.4B.6C.12D.7 _______ is a term referencing the concept that a sufficient interest must exist on the part of an insured in order to take out a policy of insurance. Multiple Choice Insurable interest Pecuniary interest Financial concern Financial effect Profit impact 6. Assume that the probability of a driver getting into an accident is 6.4%, the average cost of anaccident is $13,991.05, and the overhead cost for an insurance company per insured driver is $95.What should this driver's insurance premium be? which of these statements would be supported by a communist but not a utopian socialist? A. the industrial working class is oppressed and exploited by the wealthy ownership class B. the only way to bring about a classless society is through violent revolution C. the gains of the industrial revolution should be shared by all members of society D. governments have no right to restrict the actions of businesses or customers create and solve a linear equation that represents the model, where circles and a square are shown evenly balanced on a balance beam. A. + 7 = 12; x = 5 B. x = 5 + 7; x = 12 C. x + 5 = 7; x = 2 D. x + 7 = 5; x = -2 Boards of directors have responded to financial crises, corporate scandals, regulator obligations, and investor requests for structural changes. In looking at the 2011 Harvard Business Review study of the changes in configuration of boards since 1987, which change has been brought about by government legislation? 6th grade math help me, please :D Cammie received 100 NQOs (each option provides a right to purchase 10 shares of MNL stock for $10 per share) at the time she started working for MNL Corporation (5/1/Y1) four years ago when MNLs stock price was $8 per share. Now that MNLs stock price is $40 per share (8/15/Y5), she intends to exercise all of her options. After acquiring the 1,000 MNL shares with her options, she held the shares for over one year (10/1/Y6) and sold them at $60 per share. b. What are MNL Corporations tax savings on the grant date (5/1/Y1), exercise date (8/15/Y5), and sale date (10/1/Y6)? PLEASE HELP the formula m=12,000+12,000rt/12t gives keri's monthly loan payment where t is the annual interest rate and t is the length of the loan, in years. Keri decideds that she can afoord at most a $275 describe the end behavior f(x)=5x^4+3x^2-1.