Skip to content

ch [terminology]

Terminology

Usage

  • Use for a single character from a string or other character sequence.
  • Commonly used as the current character during iteration or scanning.
total = 0
for ch in columnTitle:
    total = total * 26 + (ord(ch) - ord("A") + 1)

See 171. Excel Sheet Column Number.