Python Print Function End Behavior