I have written a code in c++ like this:
struct ds{
bitset<3> counter;
bitset<29> encoding;
}
vector<ds> lists;
I want to have an array of ds,where each cell can store 3 bits counter and 29 bits encoding separately. I want to write it in python.How to do it?