Scale byte values by clock

while 1:n=input();b=1024.;print["%.2f %cB"%(n/b,-~n/b/b,75,77)[n>b*b::2],n][n<b]

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

download

return to the top page