How to output a combination of 26 letters and 0-9 numbers with different lengths

CSDN Q & A 2022-05-15 04:45:39 阅读数:241

outputcombinationletters0-9numbers

How to multi-threaded output a 26 Letters and 0-9 Numbers Different length combinations
( such as : Set a length 4 , such as 000z,aazz And so on is the output content , In different order )




Take the answer :

It's a random combination
The answer code of your question is as follows :

import randomse = "abcdefghijklmnopqrstuvwxyz1234567890"li = [random.choice(se) for i in range(4)]print("".join(li))

If help , Please click... Below my answer 【 Adopt the answer 】 Button to help adopt , thank you !

img


版权声明:本文为[CSDN Q & A]所创,转载请带上原文链接,感谢。 https://primo.wiki/2022/131/202205041837280663.html