Python Print Function Hackerrank Solution Python