Back to Lesson

Data Normalization

Format unkempt data utilizing chain string methods.

Instructions

  • Given
    raw_name = "   AlIcE   "
    .
  • We want to cleanly display the name. Strip all whitespace, and cast it to have just a capitalized first letter.
  • Print the final result.
main.py
main.py