Can I creat a function that reports a list of outputs in Python?

前端 未结 0 907
耶瑟儿~
耶瑟儿~ 2020-12-18 14:14

I am trying to get a list of outputs from functions. For example, let\'s say I define a function called \'compute\' as below

def compute(a, b):
    add = a +          


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