Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. if j == 'color':
  2. color_triple = []
  3. triple = ''.join(lines[i][j])
  4. for i_ in range(1, len(triple)):
  5. index = i_
  6. while triple[index] != ',':
  7. color = ''
  8. color += triple[i_]
  9. index += 1
  10. color_triple.append(float(color))
  11. i_ = index
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement