RunPrimes - print i, print v # ----# main # ----def main ()...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
from Primes import primes_read, primes_eval, primes_print # ------ # Reader # ------ class Reader (object) : def read (self) : return raw_input() # ------ # Writer # ------ class Writer (object) : def write (self, a, v) : for i in a :
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: print i, print v # ----# main # ----def main () : """ runs the program """ a = while primes_read(Reader(), a) : v = primes_eval(a) primes_print(a, v) if __name__ == "__main__" : main()...
View Full Document

Ask a homework question - tutors are online