Python Print Function Hackerrank Solution In C