Skip to main content

Swift で String の書式指定

swift
String(format: "%d", n)

とできるのは知っているけれど、 文字列展開でできたような・?

それは Python の話だったっけ