結果 : take list as input python