[Tutor] Mixing generator expressions with list definitions

Kent Johnson kent37 at tds.net
Wed Apr 18 14:18:45 CEST 2007


Kent Johnson wrote:

> my_list.extent(range(3, 6))

should be
   my_list.extend(range(3, 6))

Kent


More information about the Tutor mailing list