結果 : take only first 3 characters python