jrlen balane wrote: > basically, i'm going to create a list with 96 members but with only one value: > > list1[1,1,1,1...,1] > > is there a shorter way to write this one??? def generateN(n): while 1: yield n I'll leave the actual list creation up to you (-: