Skip to content

romans [terminology]

Terminology

Usage

  • Use for the Roman-symbol lookup table in Roman numeral conversion.
  • It is more specific than values.
  • In general, prefer a domain-specific collection name when all entries belong to a clear domain.
romans = {
    "I": 1,
    "V": 5,
    "X": 10,
}