print list using range in python