Is it possible to rewrite this loop:
for k,n in [[aa,1],[ab,2], [ac,3], [ad,4], [ba,5], [bb,6], [bc,7], [bd,8],
[ca,9],[cb,10],[cc,12],[cd,13],[da,14],[db,15],[dc,16],[dd,17],...zd,220]]:
with two range functions or “list multiplication”? I have tried all sorts of approaches, but none worked so far.
Thank you.
If you have the objects in a list its actually quite simple:
So you should look for a way to put them in a list instead.