Print Function Hackerrank Solution Python Code For Snake Games