[Tutor] question about the an exercise in <core python programing> (including the discription about the exercise)

David Palao dpalao.python at gmail.com
Wed Jan 4 15:13:23 CET 2012


Hi,
some hints:
1) strings are iterables
2) help(zip)
3) help(enumerate)

Best regards.

2012/1/4 daedae11 <daedae11 at 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 at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120104/0843e93d/attachment.html>


More information about the Tutor mailing list