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
mixas84 [53]
3 years ago
7

What is the missing line of code?

Computers and Technology
1 answer:
Ray Of Light [21]3 years ago
5 0

Answer:

phrase[2:5]

Explanation:

Given:

The above code segment

Required

Which instruction returns 'u a'

First, we need to get the index of u in the phrase:

u is at the third position but in programming, index starts at 0.

So, u is at index 2

Next, we need to get the index of a in the phrase:

a is at index 4

One of the ways to return a sub string from a string in python is string[start:stop+1]

Where:

start = 2 ----- index of u

stop = 4  ----- index of a

phrase ---- The string variable

So, the instruction that returns 'u a' is: phrase[2:5]

<em>Where 5 = 4 + 1</em>

You might be interested in
It is a set of computer instructions​
soldier1979 [14.2K]

Answer:

computer software is a set of computer instructions

8 0
3 years ago
What are at least three differences between a personal and non-personal blog?
qwelly [4]
The difference betweeen personal and nonpersonal blogs are that on a personal blog you give out most information you dont want people to know or it is anonomys 
4 0
3 years ago
How has the Aswan High Dem had an adverse effect on human health?​
Lorico [155]

Answer:

How was the Aswan high dam had an adverse effect on human health? It created new ecosystems in which diseases such as malaria flourished. An environmental challenge facing the Great Man Made River is that pumping water near the coast. ... Water scarcity makes it impossible to grow enough food for the population.

Explanation:

7 0
3 years ago
A short story, but i remember in 1nd - 5th grade at my elementary school here is the list from first to last for being cool at s
Evgen [1.6K]

We all live similar lives don't we.

3 0
3 years ago
Read 2 more answers
What is a warm site? Multiple Choice a separate facility that does not have any computer equipment but is a place where employee
Alex777 [14]

Answer:

A SEPARATE FACILITY WITH COMPUTER EQUIPMENT THAT REQUIRES INSTALLATION AND CONFIGURATION.

Explanation:

A backup site or work area recovery site is a location where an organization can relocate following a disaster, such as fire, flood, terrorist threat or other disruptive event. There are three types: hot site, cold site and warm site.

A warm site is a type of facility an organization uses to recover its technology infrastructure when its primary data center goes down.

Warm sites might have backups on hand, but they may not be complete this means that a warm site is configured with power, phone, network etc. may have servers and other resources. But a warm site is not ready for immediate switch over because it still needs to be installed and configured.

Therefore, a warm site is A SEPARATE FACILITY WITH COMPUTER EQUIPMENT THAT REQUIRES INSTALLATION AND CONFIGURATION.

8 0
3 years ago
Other questions:
  • Question # 6
    13·1 answer
  • In a switch statement, if a break statement is missing, _______________. Select one: a. the default case is automatically execut
    15·1 answer
  • How to find something in the cloud?
    8·1 answer
  • Chapter 12 Reading Question 19 The most distinguishing characteristic of geographical information systems is: Every record or di
    5·1 answer
  • To make slides in a PowerPoint Online application presentation have the same transition effect, select __________ on the Transit
    11·2 answers
  • There are 2048bytes in4megabytes true or false​
    10·1 answer
  • How to change my age on this app
    10·2 answers
  • How do I install another part on campaign call of duty cold war? please help.(best answer will get branliest.)
    15·2 answers
  • Select the word or phrase from the drop-down menu to complete each sentence. File names consist of a ______ and a file extension
    10·1 answer
  • List 90 examples of word
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!