Skip to content

3-tutorial/print 格式化与字符串插值 #65

Description

@miaobyte

print 逗号分隔参数自动空格连接,无字符串插值/格式化(宽度/对齐/精度/嵌入表达式)。

候选:A 格式化串 print("[%d,%d]",i,j);B cat 拼接;C 模板串 [${i}]

优先级低。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions