pyParallelGamit.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:Parallel.GAMIT 作者: demiangomez 项目源码 文件源码
def print_columns(l):

    for a, b, c, d, e, f in zip(l[::6], l[1::6], l[2::6], l[3::6], l[4::6], l[5::6]):
        print('    {:<10}{:<10}{:<10}{:<10}{:<10}{:<}'.format(a, b, c, d, e, f))

    if len(l) % 6 != 0:
        sys.stdout.write('    ')
        for i in range(len(l) - len(l) % 6, len(l)):
            sys.stdout.write('{:<10}'.format(l[i]))
        sys.stdout.write('\n')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号