final=list(product(char1,char1,char1,char1,char1,char1,char1,char1,char1,char1))
Let’s say the number of char1
in the product
function depends on an input. For example, there will be 5 char1
in the product
function if the input is 5.
Is it possible to do that?