ASH84

Software Engineer/Developer, co-founder of Payhere. Ex-Banksalad. Intereseted in iteroperability, bootstrap company, writting.

Python - Sum the elements for the indices of each list

created:2015-05-13
updated:2015-07-03
edit

리스트 안에 리스트가 있고 각 index 별로 합계를 구할일이 있어서 stack overflow 를 보고 짠 코드인데 원래 기존에 제공된 코드에서 None 이 있는 경우에 한해서 0 처리한것 뿐이다. 코드가 약간 길어진 느낌이 있는데 짧게 고쳐주실 분은 위의 gist에 들어가셔서 남겨주시면 감사(. .)


#dev  #list of lists  #Python  #sum