Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if j == 'color':
- color_triple = []
- triple = ''.join(lines[i][j])
- for i_ in range(1, len(triple)):
- index = i_
- while triple[index] != ',':
- color = ''
- color += triple[i_]
- index += 1
- color_triple.append(float(color))
- i_ = index
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement