Nick Rout wrote:
Carl, you have teaching experience: can you think of a suitable problem? No cheating by making it too python skewed :)
Me cheat? never!
I, on the other hand, cheat whenever it saves me a keystroke... ruby -le 'a=Hash.new(0);File.read("/usr/share/dict/words").each_byte{|c| a[c]+=1};a.each_pair{|c,v| print v," ",c.chr}' | sort -n
1 � 2 � 2 � 2 � 3 � 3 � 4 � 6 � 6 � 6 � 10 � 10 � 12 � 13 � 28 � 40 X 56 Q 108 U 127 � 130 Y 134 Z 302 V 315 I 344 O 470 F 476 W 488 N 523 J 583 E 620 K 707 R 765 D 765 G 766 T 824 H 875 L 894 P 1256 A 1297 B 1334 j 1376 S 1413 q 1425 C 1578 M 2027 x 2976 z 6755 w 7425 v 7547 k 9839 f 12121 y 13835 b 17932 h 20250 m 20528 p 21760 g 23854 ' 25184 u 27526 d 29468 c 39016 l 47074 o 50412 t 54943 r 55400 n 61082 a 64957 i 84526 s 86036 e 96274
John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : [EMAIL PROTECTED] New Zealand
We all live but seconds away from pain and death, yet we live as though it wasn't even possible.
We are but one person amongst 6 billion, yet we live as though we, personally, matter.
So, as you were saying... how real did you want me to get?
