Answers for "print certain elements of list python"

2

print specific list item python

lis_t = [1, 4, 5]
print(lis_t[2]) #will print 5
Posted by: Guest on October-13-2020
0

print all objects in list python

for p in myList: 
  print p
Posted by: Guest on February-15-2020

Code answers related to "print certain elements of list python"

Python Answers by Framework

Browse Popular Code Answers by Language