here's the example of using lists comprehension: data = [1, 2, 3, 4, 5, 6, 7, 8, 9] ids = [2, 4, 6] # ids of required values in the list ...
確定! 回上一頁