Summation of values in nested lists

后端 未结 0 1660
一向
一向 2021-01-24 00:13

I have encountered a problem where a ’return‘ gives ‘None’ back, though the variable had a value just a single line of code before.

mylist = [[7]]

def sumcalc(th         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题