https://cerwinvegassalee.blogspot.com/2022/10/python-subset-elements-in-one-list.html