阅读背景:

编写一个可以接受值和任何类型的可迭代类型的函数

来源:互联网 

I wonder if it is possible to write the following code in a very pythonic way. The code is simplificated. It should accept a single values for each input, as well as a sequence or a numpy array. The problem is that a single value does not have any I wonder if it is possible to write the followi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: