let's assume that there is a list named 'user_ids' as below
>>> len(user_ids)
>>> 742
I want to slice the list by 200 after 742/200 -> 3 times of loop, there going to be a 142 stuffs left with the result, I want it to be in a list again. the result would have the same value with below
sliced_list = [user_ids[0:199],user_ids[200:399],user_ids[400:599],user_uds[600:742]]
I want to make a loop to deal with the user_ids list no matter how many stuffs it has.
I cannot figure out where to start.....any ideas?