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

what year did American ground troops finally committed in Operation Rolling Thunder?
What were the causes and effects of 20th-century nationalist conflicts ?Help please :(
cultural differences should or should not be considered when discussing deviant behaviors??
A subject with at least two parts joined by and, or, or nor is __________.
What is two fifths minus one fourth
Which value for x makes the sentence true? 13x - 8x = 10 A.3 B.2 C.4 D.8 question from study island
if 75% of a number is 60, what is 20% of the number
write a Distributive Property math problem
Help! William earns $13,644.80 per hear, and has his federal taxes withheld from each weekly check. In addition, a total of $53.60 is deducted form each check.
. Which of the following statements about President Andrew Johnson is true? A. He was well educated, but he was a poor stump speaker. B. He defended th