I hereby claim:
- I am mikejoyceio on github.
- I am mikejoyce (https://keybase.io/mikejoyce) on keybase.
- I have a public key ASAiLrti7pWKSCbbArffUCZy4aNv6QCzxUgii6MdqaABDgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var data = [ | |
{ property: '01' }, | |
{ property: '02' }, | |
{ property: '03' }, | |
{ property: '04' }, | |
{ property: '05' } | |
]; | |
for (obj in data) { | |
data[obj][Object.keys(data[obj])[0]]; |
import random | |
def random_items(itr, int): | |
list = [] | |
count = 0 | |
while count < int: | |
rand = random.choice(itr) | |
list.append(rand) | |
count += 1 | |
return list |
def combo(itr1, itr2): | |
list = [] | |
count = 0 | |
for _, item in enumerate(itr1): | |
tup = item, itr2[count] | |
list.append(tup) | |
count += 1 | |
return list |