Repeat each element in an iterable (which can be infinite) using itertools only

后端 未结 0 1852
渐次进展
渐次进展 2020-11-30 08:45

Is there a simpler expression for the following, which would use itertools and not require defining a function?

It must support any iterable, including i

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