## Problem
Determine whether a positive integer number is **colorful** or not.
`263` is a colorful number because `[2, 6, 3, 2*6, 6*3, 2*6*3]` are all different; whereas `236` is not colorful, because `[2, 3, 6, 2*3, 3*6, 2*3*6]` have `6` twice.
So take all consecutive subsets of digits, take their product and ensure all the products are different.
## Examples
```pyhton
263  -->  true
236  -->  false
```
from functools import reduce
from math import ceil
def colorful(n): 
    li=[reduce(lambda x,y: x*y, map(int, str(n)[i:i+j]))for j in range(1,ceil(len(str(n)) / 2)+2)for i in range(0,len(str(n))-j+1)]
    return all(li.count(i)==1 for i in li)
from functools import reduce
from math import ceil
def colorful(n): 
    li=[reduce(lambda x,y: x*y, map(int, str(n)[i:i+j]))for j in range(1,ceil(len(str(n)) / 2)+2)for i in range(0,len(str(n))-j+1)]
    return all(li.count(i)==1 for i in li)