1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ddd [48]
2 years ago
8

Write a statement that slices a substring out of the string quote and puts it into a variable named selection. If given the stri

ng 'The only impossible journey is the one you never begin.', selection should contain 'possible jou' after your statement executes.
Computers and Technology
1 answer:
Daniel [21]2 years ago
8 0

The statements that slices a substring out of the string quote and puts it into a variable named selection is as follows:

text = "The only impossible journey is the one you never begin."

selection = ""

selection += text[11:23]

print(selection)

The code is written in python.

The string is stored in a variable called text.

The variable selection is declared as an empty string. The purpose is to store our new substring.

The third line of the code is used to cut the string from the 11th index to the 23rd index(excluding the 23rd index) and add it to the declared variable selection.

Finally, we output the variable selection by using the print statement.

The bolded values in the code are python keywords.

read more; brainly.com/question/20361395?referrer=searchResults

You might be interested in
The Olympic Games that people celebrate today are much different from the Olympics that began in ancient Greece. When the Olympi
kiruha [24]

Answer:

D

Explanation:

Option D explains the best about Olympic games. previously only few games were in Olympics but now thee are variety of games and some more games are trying to be a part of future Olympic games as well. There is no explanation about other options so we discarded those options, Which includes A) Greek mythology says that the Olympics were started by Heracles. B) Women were not allowed to watch the Olympic Games in ancient Greece. C) The ancient Olympics included sport such as running and chariot racing.

8 0
3 years ago
Read 2 more answers
Hard disk works on the following technologies: (i) Technology used within the hard drive to read & write data to the drive a
Alex787 [66]

Answer:

The green-blue circuit board you can see in the first photo includes the disk controller, a circuit that allows the computer to operate the drive's mechanisms and read/write data to and from it. ... A small hard drive typically has only one platter, but each side of it has a magnetic coating

Explanation:

8 0
2 years ago
Purpose for a Phone....?
jeka94
Used to talk to people, chat with people on mobile.
5 0
2 years ago
Read 2 more answers
Linguist study_____
-Dominant- [34]
That's B.

Linguist love all kinds of studies of languages culture writing etc.
6 0
2 years ago
What amount of memory enough to store alatter of the alphabet or store a small number​
laiz [17]

Answer:

It can be "ON" or "OFF". So it can store the numbers 1 and 0, but it certainly doesn't have the capacity to store a letter of the alphabet.

Explanation:

3 0
2 years ago
Other questions:
  • Name size of machine screw that is used to secure switches and receptacles to device boxes
    13·1 answer
  • How i can connect to internet automatically when i switch on my computer?
    8·1 answer
  • What may happen if there is too much harmony in a design?
    14·1 answer
  • Write a program that asks the user for three strings. Then, print out whether the first string concatenated to the second string
    8·1 answer
  • Radio and television are examples of
    9·1 answer
  • You're setting up some VMs to test an application you're considering making available to employees of the small company you work
    11·1 answer
  • Add my sna-p dkarpik58?...
    9·1 answer
  • The lower band and upper band of integer data type​
    6·1 answer
  • Is the trust necessary to use an emerging technology platform? why?​
    10·1 answer
  • Future Cell Tech, a company that produces cell phones, is always on top of the newest technology and is the leader in cell phone
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!