Python numbers in every combinations and then again to add to it

I have 5 numbers in every combinations of 3’s
(i will call section 1)
then l have another 5 numbers in every combinations of 2’s
(I will call sections 2)
then all the combinations of 2’s (section 2) are attached to EACH combination of 3’s in section 1.
I am looking for a python formula

Something like this?

from itertools import permutations

# Section 1
comb1 = list(permutations([0, 1, 2, 3, 4], 3))
# Section 2
comb2 = list(permutations([5, 6, 7, 8, 9], 2))
# Combinations of combinations
combcomb = [a + b for a in comb1 for b in comb2]