Python 内包表記 空のリストに100から109までの値を入れる 通常nums=[]for i in range(10): nums.append(i+100)print(nums) 結果[100, 101, 102, 103, 104, … “Python 内包表記” の続きを読む