On 04/10/11 17:38, lina wrote:
For file:

aaEbb
aEEbb
EaEbb
EaEbE

the expected output is

2 1 0 1

I expected

2 1 4 0 1

In the first column there is 2 E, so the output is 2 E, second column is
1 E.

But the 3rd is all E so why miss out the 4?

I'm still confused - and I thought I was getting it!

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to