Coding challenges completed in Python for Hackerrank Code Sprint