Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from collections import namedtuple
- colorName = namedtuple('Color', ['red', 'green', 'blue'])
- color = (255, 50, 155)
- colorval = ''
- for i in color:
- colorval += str(i) + ','
- print(colorval[:-1])
Advertisement
Add Comment
Please, Sign In to add comment