Python Challenge 第 5 关攻略:peak

# -*- coding: utf-8 -*-
# @Time    : 2018/9/26 14:03
# @Author  : cxa
# @File    : pickledemo.py
# @Software: PyCharm
import pickle
fname="banner.p"
with open(fname,'rb') as fs:
    data=pickle.load(fs)

for line in data:
       print("".join(x[0]*x[1] for x in line))
posted @ 2018-09-26 14:31  公众号python学习开发  阅读(307)  评论(0编辑  收藏  举报