Relative Frequency by govind

try:
\x09while 1:a=raw_input();print'%.6f'%(a[2:].count(a[0])/float(len(a)-2))
except:0

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

download

return to the top page