Na próbce 100 tysięcy liczb, oblicz rozkład.
function(s1, s2, s3)
s1 = mod (
171 * s1
, 30269 )s2 = mod (
172 * s2
, 30307 )s3 = mod (
170 * s3
, 30323 )r = mod ( s1/30269 + s2/30307 + s3/30323, 1 )
return r
In [ ]:
@WordProcessor.register
def strip_text(text):
pass
@WordProcessor.register
def capitalize_text(text):
pass
@WordProcessor.process(" ala ma kota ") # -> "Ala ma kota"