szamoram1104 szamoram1104
  • 25-05-2022
  • Computers and Technology
contestada

Question 3
Consider the following code:
h = [8, 4, 5, 1, 1, 6, 7, 9, 3, 3, 9, 3]
print (h[1])
What is output?
8
4
5
1

Respuesta :

26gy2 26gy2
  • 25-05-2022

Answer:

The output would be 4.

Explanation:

This seems to be python, so it has 0 based indexing. The index 1 would be the second number in the list, and since the second number in the list is 4, the output would be 4.

Answer Link
gyvw2dkksd gyvw2dkksd
  • 25-05-2022
I don't know the programming language but most of the time it prints all of them
Answer Link

Otras preguntas

In which stage in the life cycle of a cnidarian is the organism anchored to the bitten of the ocean or lake where it lives A. Stinger B. Medusa C. Nematocyst D
Central city needs to have an income of $3,560,000. the total property is valued for taxation at $92,000,000. what is the tax rate (to the nearest tenth)?
Gravity is dependent on which of the two factors?
What is the best approximation of 6% tax on a $102 purchase?
Angles L and M are supplementary. What is the sum of their measures?
Find the discount. regular price = $349; discount rate = 1/10 a. $3.49 b. $34.90 c. $314.10 d. $3490
Computer sales decreased from 40 to 32. What is the percent of decrease?
Which was true of the boxer rebellion?
Choose all that apply. Which of the following were philosophers during the Renaissance? Plato Thomas More Niccolo Machiavelli Socrates
If an architect wants to draw a plan for a house that is 75 ft by 80 ft, and his paper is 10 in. by 17 in., what is the best scale factor for him to use?