def name(params):
j=params
k=0
l=True
m=True
while(k < len(j)):
if (k == len(j)-1):
l=True
else:
l=(j[k+1] != True)
if (k == 0):
m=True
else:
m=(j[k-1] != True)
while(j[k] != True and (l and m)):
if (k == len(j)-1):
j[k] = True
else:
j[k+1] = True
k = 0
break
k += 1
return j
print(name([False]*32))
To embed this project on your website, copy the following code and paste it into your website's HTML: