Python

Dictionary

String

  • Trimming:

s = s.strip()
s = s.lstrip()
s = s.rstrip()
  • Replace:

s = s.replace('\t', ' ')

Debug

Last updated