Why is there no output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is there no output

nums = [3, 4, 5, 2, 8, 9, 1,] nums[4] = 1

3rd Nov 2016, 11:09 PM
code-junkie
code-junkie - avatar
5 Answers
+ 6
In python you can see output only by using print() statement.
3rd Nov 2016, 11:30 PM
Mateusz Wiezik
Mateusz Wiezik - avatar
+ 2
you do not have any "print" statements... such as print(nums [4])
3rd Nov 2016, 11:28 PM
Frédéric Charette
Frédéric Charette - avatar
0
oh thx
3rd Nov 2016, 11:33 PM
code-junkie
code-junkie - avatar
0
can u help with my other questions
3rd Nov 2016, 11:33 PM
code-junkie
code-junkie - avatar
0
checking
3rd Nov 2016, 11:34 PM
Frédéric Charette
Frédéric Charette - avatar