python assign multile array elements to variables code example Example: array to two variables python >>> a,b,c,d = [1,2,3,4] >>> a 1 >>> b 2 >>> c 3 >>> d 4