+ 2
I cant understand this code please explain..?
The think I cannot understand is product and permutation and how the result came...also explain what is len and how it is used...I'm having problem with it..thanks https://code.sololearn.com/c2T5lYedljE7/?ref=app
2 Réponses
+ 4
Here are some resources that may help you. I don't know if I can explain it any better so I'll just leave these here for you.
https://docs.python.org/3.8/library/itertools.html
https://docs.python.org/3.8/library/itertools.html#itertools.product
https://www.google.com/amp/s/www.geeksforgeeks.org/python-itertools-product/amp/
https://docs.python.org/3.8/library/itertools.html#itertools.permutations
https://www.google.com/amp/s/www.geeksforgeeks.org/python-itertools-permutations/amp/
https://docs.python.org/3/library/functions.html#len
+ 3
Thank u