import random
number = random.sample(range(0,9999), 10)
print(number, file = open("output.txt","a"))
I want to add (prefix) characters to a randomly generated number. e.g. AAA(number) so that it will become something like AAA4525. What's the best way to do it?
Aucun commentaire:
Enregistrer un commentaire