Pzdmultiverse
V2EX  ›  问与答

为什么下面两行的前面会有两个空格呢?

  •  
  •   Pzdmultiverse · Jun 29, 2017 · 2413 views
    This topic created in 3267 days ago, the information mentioned may be changed or developed.

    2 replies    2017-07-01 22:56:15 +08:00
    cbwzwsq
        1
    cbwzwsq  
       Jun 29, 2017
    又问题先看文档 https://docs.python.org/3/library/functions.html#print
    满足你需求的写法应该是 print(a,b,c,sep='\r\n')
    Pzdmultiverse
        2
    Pzdmultiverse  
    OP
       Jul 1, 2017
    @cbwzwsq 谢谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3197 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:26 · PVG 19:26 · LAX 04:26 · JFK 07:26
    ♥ Do have faith in what you're doing.