Last answered:

11 Apr 2020

Posted on:

11 Apr 2020

0

How many elements are there in the Numbers list?

How many elements are there in the Numbers list? Numbers = [10, 20, 30] len(Numbers)
Numbers OUTPUT: [10, 20, 30] WHY IT SHOWING ALL THE ELEMENTS? It should show 3.
1 answers ( 0 marked as helpful)
Instructor
Posted on:

11 Apr 2020

0
Hi Raj,  in order to see the len(Numbers), this should be the last line in your cell. So, if you remove the Numbers line, you'll get the desired output   Best,  Eli

Submit an answer