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