Created
May 12, 2018 21:59
-
-
Save Unitoi01/81a33cbc4dcf53da0298ea142fc2a82f to your computer and use it in GitHub Desktop.
colorAnswer
This file contains hidden or 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
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