- 1
Pleaee help me , l am a beginner.this is my first programmino class. What is the result of this code?
nums=[5, 4, 3, 2 1] print (nums[1])
6 Respostas
+ 12
you could have tested in code playground
+ 2
syntax error lol
but result of this:
nums=[5, 4, 3, 2, 1]
print (nums[1])
would be 4
+ 1
it prints `` 4 ``
+ 1
You can still test this answer in code playground. That's the best way to learn this language.
0
the answer would be 4 as not the first number as that would be place 0 and place 1 would be 4
0
Thank You all anyhow