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

hadoopcourseinguntur | hadooptraininginstituesinguntur | hadoopinstituesinguntur

python institutes in guntur | python training in guntur | python course in guntur

tally with gst course