access elements of list in python code example Example: access element from list python list1 = [1,2,3,4,5] for i in list1: print(i)