python 3 turn range to a list