List Beautify

List Beautify

假设给你一个 列表的列表 正/负整数/浮点数,例如 -[[1, 2, 10, 150], [10, 2, 1000, 2], [1, 120, 1, 1000]] 。它总是被正确填充:至少有一个非空的内部列表 。

将其打印为单个对象时,您会收到

example
[[1, 2, 10, 150], [10, 2, 1000, 2], [1, 120, 1, 1000]]
                
或逐行打印:
example
[1, 2, 10, 150]
[10, 2, 1000, 2]
[1, 120, 1, 1000]
                

您的函数应同时返回视图和改进后的内容:single...

You should be an authorized user in order to see the full description and start solving this mission.