I've been making my way through the book Elementary Japanese Volume 1 and in the chapter on comparatives it introduced this construction:
AとBとでは、どちらの方がXですか。Between A and B, which one is X-er?
AとBとでは、Aの方がBよりXです。 Between A and B, A is X-er than B.
If I understood it correctly then the particles
は are acting as they normally would. Meaning the
で here is the location marker and marks the range of things we are comparing. And the
は particle just marks the whole first part as the topic. However, what I don't understand is the use of the
と particle at the end of the list, right after
I think I have seen this construct without this
と. So what exactly is it's function there?