On Jul 2, 10:09 pm, Rolandb <[EMAIL PROTECTED]> wrote: > for a in range(1,5): > for b in range(1,5): > for c in range(1,5): > for d in range(1,5): > if a<>b<>c<>d:
By the way, the above line doesn't mean what you want. It checks that a<>b, that b<>c, and that c<>d, but it doesn't check any of a<>c, a<>d, or b<>d. > print a,b,c,d Carl --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---