Learning Python is fun. Sharing what you learn is important.

Joined October 2015
Photos and videos
zip(*listOfLists) # transpose a matrix #zip #awesome #python
[n for n in range(10000,50000) if len(set(list(str(n)) list(str(2*n))))==10]#all 5 digit ints n where every digit appears once in n or 2*n
zip(*[iter(someList)]*2) # returns a list of tuples containing neighboured elements of someList
all(number%i is not 0 for i in range(2,int(number**(1/2)))) # check if number is a prime number