I have seen this post, but I'm not sure it applies.
I am looking for an easy - minimal calls for packages or special functions - to code in Python what in Maple would be:
x:=0:
for m1 from 0 to 9 do
for m2 from 0 to m1-1 do
for m3 from 0 to m2-1 do
for m4 from 0 to m3-1 do
for m5 from 0 to m4-1 do
x:=x+1
od
od
od
od
od:
x;