We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef9e731 + a76845a commit aca2feaCopy full SHA for aca2fea
rosalesjahaziel/0001/0001.py
@@ -0,0 +1,12 @@
1
+import random
2
+import string
3
+
4
5
+# this method use the 'key' to select 10 random characters
6
+def generateCode(count):
7
+ for code in range(count):
8
+ key = string.upper('0123456789abcefghijklmnopqrstuvwxyz')
9
+ code = string.join(random.sample(key, 10))
10
+ print(code)
11
12
+generateCode(10) # generate the amount of codes you send as count
0 commit comments