📜  如何在python代码示例中返回段落

📅  最后修改于: 2022-03-11 14:45:10.612000             🧑  作者: Mango

代码示例1
return ' '.join(["""      | a | b | c | d | e | f | g | h | i | j |
    --+---+---+---+---+---+---+---+---+---+---+
    10|"""," | ".join(tableron[9]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    9 |"""," | ".join(tableron[8]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    8 |"""," | ".join(tableron[7]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    7 |"""," | ".join(tableron[6]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    6 |"""," | ".join(tableron[5]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    5 |"""," | ".join(tableron[4]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    4 |"""," | ".join(tableron[3]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    3 |"""," | ".join(tableron[2]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    2 |"""," | ".join(tableron[1]),"""|
    --+---+---+---+---+---+---+---+---+---+---+
    1 |"""," | ".join(tableron[0]),"""|
    --+---+---+---+---+---+---+---+---+---+---+"""])