Referring to the exhibit, what is printed when you execute the python print (a [3]) command?

Click the Exhibit button.

Referring to the exhibit, what is printed when you execute the python print (a [3]) command?
A . 2
B . 8
C . 0
D . 5

Answer: D

Explanation:

Reference: https://swcarpentry.github.io/python-novice-inflammation/02-loop/

Latest JN0-220 Dumps Valid Version with 65 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
3 Comments
Inline Feedbacks
View all comments
zee
zee
4 years ago

a[3] = 2
array starts with a[0] and so on..

John
John
4 years ago

Wrong answer.

Correct answer: A = 2

John
John
4 years ago

wrong answer.
output: 2

Explanation:
print( a[0] ) = 1
print (a[1]) = 4
. . .