Average Character by Hendrik

m@main=do;l<-getLine;putStrLn[toEnum$div(sum$map fromEnum l)$length l];m

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page