Open cdar opened 9 years ago
Current: return [1.0*int(n,16)/255 for n in (string[:2], string[2:4], string[4:])]
return [1.0*int(n,16)/255 for n in (string[:2], string[2:4], string[4:])]
Correct: return [1.0*int(n,16)/255 for n in (string[1:3], string[3:5], string[5:7])]
return [1.0*int(n,16)/255 for n in (string[1:3], string[3:5], string[5:7])]
Current:
return [1.0*int(n,16)/255 for n in (string[:2], string[2:4], string[4:])]
Correct:
return [1.0*int(n,16)/255 for n in (string[1:3], string[3:5], string[5:7])]