Skip to content

Instantly share code, notes, and snippets.

@Unitoi01
Created May 12, 2018 21:59
Show Gist options
  • Save Unitoi01/81a33cbc4dcf53da0298ea142fc2a82f to your computer and use it in GitHub Desktop.
Save Unitoi01/81a33cbc4dcf53da0298ea142fc2a82f to your computer and use it in GitHub Desktop.
colorAnswer
def colorAnswer(r,g,b):
colArr= colorArray()
for i in range(len(colArr)):
colArr[i]= (colorDifference(r,g,b,colArr[i][0], colArr[i][1],colArr[i][2]),colArr[i][3])
selectionSort(colArr)
return(colArr[0][1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment