This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import random | |
def mac(): | |
i=0 | |
r=[] | |
while i<6: | |
s="".join([random.choice('0123456789ABCDE'),random.choice('0123456789ABCDE')]) | |
r.append(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
def cab(): | |
a = int(random.randint(1000, 9999)) | |
print a | |
status = False | |
while status is False: | |
i = input('Choose a 4 digit number: ') |