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

java coaching near me | java classes near me | java institute near me