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