Look-and-say sequence: Difference between revisions
Content added Content deleted
No edit summary |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 5,410: | Line 5,410: | ||
11131221133112132113212221 |
11131221133112132113212221 |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
{{trans|Go}} |
{{trans|Go}} |
||
<syntaxhighlight lang="vlang">fn lss(s string) string { |
<syntaxhighlight lang="v (vlang)">fn lss(s string) string { |
||
mut r := '' |
mut r := '' |
||
mut c := s[0..1] |
mut c := s[0..1] |