I am total newbie to programming and python. I was solving a problem. I found the solution but it seems like too slow.
if n % 2 == 0 and n % 3 == 0 and\\
Built in all will help.
Return True if all elements of the iterable are true (or if the iterable is empty).
if all(n % i == 0 for i in xrange(2, 21))