Combination program urgent help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Combination program urgent help

Can some one help me with a program that generate a combination of letter up to 60 character e.g "VDT2xrpfmZ4KWTNpbXJgdYHzWG8t19yMbUvsP9vKM5BfrbCq7yfv" In which it can print all combination starting with "U".?

14th Sep 2019, 8:13 AM
Dprincebh
Dprincebh - avatar
3 Answers
+ 2
~ swim ~ I need your help on this
14th Sep 2019, 8:13 AM
Dprincebh
Dprincebh - avatar
+ 2
For python use itertools.product. But I got to warn u, printing out all combinations might take a while... 62 to the power of 59 is kind of a huge number.
14th Sep 2019, 8:31 AM
Thoq!
Thoq! - avatar
0
Thanks bro
14th Sep 2019, 9:29 AM
Dprincebh
Dprincebh - avatar