Skip to content

parts [terminology]

Terminology

Usage

  • Use for pieces that will later be joined into one string or result.
  • It is preferable to res when construction explicitly occurs through concatenation.
  • Individual entries may include signs, separators, digits, or encoded runs.
parts = []
parts.append(str(int_part))
parts.append(".")
return "".join(parts)