Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
インデックスの場所でアイテムを見つけるための他の高速な方法はありますか?
items = ['aaa','sss','ddd','fff','gggg','hhhh'] indices = [1,3,4] My way: [items[i] for i in indices]