Print Statement Not Working Python Code