Anonymous user
Rep-string: Difference between revisions
m
→{{header|Dyalect}}
Not a robot (talk | contribs) (Add CLU) |
|||
Line 1,261:
{{trans|Go}}
<lang dyalect>func rep(s) {
var x = s.
while x > 0 {
if s.
return x
}
Line 1,287:
for s in m {
if (rep(s) is n) && n > 0 {
print("\(s) \(n) rep-string \(s.
} else {
print("\(s) not a rep-string")
|