diy1.py 94 Bytes Edit 1 2 3 4 5 6 7 x=[1,2,3,4] def xpy(y): a=0 for i in x: a=a+i return a print(xpy(4))