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
polet [3.4K]
3 years ago
11

what would be the result of running these two lines of code

Computers and Technology
1 answer:
MatroZZZ [7]3 years ago
8 0

Answer:

Jog

Explanation:

The variable options is a list containing 5 string values

options = ["ski", "surf", "jog", "bike", "hike"]

Indexing in python starts from 0 ; hence the index values of the list values are :

0 - ski

1 - surf

2 - jog

3 - bike

4 - hike

The statement ;

print(options[2]) means print the string at index 2 in the list named options

The string at index 2 is jog ;

Hence, the string jog is printed.

You might be interested in
What does different screen size have to do with the display apperance of sites?
lesantik [10]
Display quality, or fit
7 0
3 years ago
Create pseudocode to compute the volume of a sphere. Use the formula: V= (4/3)* π r3 where π is equal to 3.1416 approximately, w
MA_775_DIABLO [31]

Answer:

In geometry, the area enclosed by a circle of radius r is πr2. Here the Greek letter π represents a constant, approximately equal to 3.14159, which is equal to the ratio of the circumference of any circle to its diameter.

Explanation:

3 0
3 years ago
Read 2 more answers
Write your own printArray() function found in Processing for the Arduino. For simplicity, you can limit printArray() to integer
VLD [36.1K]

Answer:

Follows are the method definition to this question:

void printArray(int arrayToPrint[], int arraySize) //defining a method printArray that accepts two array in its parameters

{

for (int j = 0; j < arraySize; j++)//defining for loop print Serial numbers

{

Serial.print("[");//use print method to print square bracket

Serial.print(j);//use print method to print Serial numbers

Serial.print("]: ");//use print method to print square bracket

Serial.println(arrayToPrint[j]);//printing array value

}

}

Explanation:

In the above code, a method "printArray" is declared that holds two arrays "arrayToPrint and arraySize" as a parameter, and inside the method is used for loop to print the values.

In the loop, first, it uses the square bracket to print the serial number and in the last step, it prints array values.

6 0
3 years ago
Write a c program that reads marks of ten students calculate percentage and deviations percentage of each student using array
Yanka [14]

Answer:

a

Explanation:

3 0
3 years ago
What are three procedures used by browsers
ra1l [238]
I believe that the three procedures are...

1.  Sub - Standard sub routine

2.  Function - a routine that returns an answer

3.  Property - reserved for <span> Class Modules</span>

<span>Hope this helps, please mark brainliest!</span>

5 0
3 years ago
Read 2 more answers
Other questions:
  • For which task is the WordArt gallery most useful?
    15·2 answers
  • A variation of pronounce is a. Proclaim c. Produce b. Profound d. Pronunciation Please select the best answer from the choices p
    11·1 answer
  • What is the radix transformation method?
    5·1 answer
  • What command displays detail information about the OSPF interfaces, including the authentication method?
    7·2 answers
  • What is the web of trust
    7·2 answers
  • A chemical mixture that is burned to produce thrust. (Jet engine homework)
    14·2 answers
  • Is jesus dead or alive
    11·1 answer
  • ¿Cuáles aspectos serían los que más incidirían para que no se pudiera cumplir con el principio de imparcialidad en una auditoría
    11·1 answer
  • A row-level trigger requires use of the _____ keywords and is executed once for each row affected by the triggering statement.
    7·1 answer
  • 9
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!