How to print list for max 12 items and remaining items to print later in Python?

前端 未结 0 656
眼角桃花
眼角桃花 2021-01-14 09:20
result = \'\'
    for key in fields:
        result +=  key.ljust(25)
        for ind, value in enumerate(processed_data):
            result += value[key].center(15         


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