Quick way to apply then assign the result of a function

后端 未结 0 1911
闹比i
闹比i 2021-01-12 06:41

I came across having to write something like

import numpy
a = 4
a = numpy.atleast_1d(a)

and that made me wonder : In case the input of a func

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