[Tutor] Creatively solving math problems -----help

Conrad Koziol arkamir at softhome.net
Thu Sep 11 01:25:51 EDT 2003


hey thanks for all you help, the indenting problem is with evolution. I
especially liked the one liner.

though I still need help with this program i wrote to take in all you
suggestions.

for x in range(20000):
        if [x%y for y in range(2, 7)] == 1 and x % 7 == 0:
                print x



This program works though it doesnt do anything. I believe its how i
inserted this statement [x%y for y in range(2, 7)] 

thanks
 



More information about the Tutor mailing list