I am trying to write the script below in a more elegant format. Any suggestion?
list = [1,2,3,4] for i in list: a = [(i + j) for j in list]