you'd use ``.index`` with ``array.array`` too btw wonder where do people use array.array
I see. usually Python takes functions that are generic for any sequence/iterable and makes them free functions. I wonder why they didn't make `index` one.