[Tutor] Alan's responce frustrated beginner

Rosalee Dubberly dubberlyr at msn.com
Thu Sep 29 00:39:39 CEST 2005


I want to save this file, import it and make the changes, eggs = toast, spam 
= jelly and change the values if needed.

def firstpart():
   for n in range(0, 55):
      if n % 3 == 0 or n % 7 == 0 or n % 11 == 0:
          print 'eggs,',
      else:
          print 'spam,',
Rosa Dubberly

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



More information about the Tutor mailing list