Day: August 16, 2018

  • Commatizing numbers in Python

    Platform: AnyLanguage: PythonRequirements: None Earlier today, I stumbled across a small programming challenge on rosettacode.org that required a solution in Python. I was intrigued enough to give it a shot and below you will find my approach to “commatizing” numbers in string. The challenge is simple. Take a string, see if it contains numbers and then format the numbers in… Continue reading "<i>Commatizing</i> numbers in Python"