Python Print Function Hackerrank Solution Sales