Hi, some hints: 1) strings are iterables 2) help(zip) 3) help(enumerate) Best regards.
2012/1/4 daedae11 <daeda...@126.com> > ** > Who can give me an example program about the exercise 6 in chapter 9 in > <core python programming> ? > > The exercise is: > Write a program that compare the two files given by users. If the two > files' content is equal, just print "equal". Else, print the rows And > column number of the first different position. > > Thank you! > > > > > > Thank you! > > ------------------------------ > daedae11 > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor