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

which kinds of butterflies are found in a field
the sum of two integers with different signs is 8 give two possible integers that fit this description
If you pour a cup of coffee that is 200F , and set it in a room that is 68F, and 10 minutes later it is 145F, what temperature will it be 15 minutes after you o
Japan proved to the world that it was a rising power by defeating Russian troops in 1905, which led to the creation of the Treaty of Portsmouth. Please select
Labels that indicate warnings and side effects are known as _______ labels. a. warning b. counseling c. auxiliary d. formulary
Solve 9x-7y=-7 i don't know how to do it so could you show me step by step please
If you round 552,945 what would be the anwering
What is 7/15 in decimal form
The Judiciary Act of 1789: a. did not provide a way to finance the courts b. provided for a chief justice and five associate justices c. kept the court from tou
What is the verbal expression for 7 to the third power