How to return the 5th element from the test list in Python?

 How to return the 5th element from the test list in Python?

Ans:
   list=[10,20,30,50,60,70]
   print('the 5 th elemnet of the lsit is',list[4])

o/p: 60

Comments

Popular posts from this blog

python course in guntur | python training in stitutes in guntur

web designing course in guntur

selenium course in guntur | selenium institutes in guntur | selenium training institutes in guntur