006-打印C图案

# -*- coding:cp936 -*-

def printC():
    """
    题目:用*号输出字母C的图案。
    程序分析:可先用'*'号在纸上写出字母C,再分行输出。
    """
    clist = {0:"  ****",
             1:" *    ",
             2:"*     ",
             3:"*     ",
             4:" *    ",
             5:"  ****"}
    for i in range(0, 6):
        print clist[i]

if (__name__ == '__main__'):
    printC()
原文地址:https://www.cnblogs.com/foreverlzj/p/4756306.html