Skip to content

Instantly share code, notes, and snippets.

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: ')
#!/usr/bin/python
import random
def mac():
i=0
r=[]
while i<6:
s="".join([random.choice('0123456789ABCDE'),random.choice('0123456789ABCDE')])
r.append(s)