Four is the number of letters in the ...: Difference between revisions

Content added Content deleted
Line 1,271: Line 1,271:
if i == idx:
if i == idx:
dec length # Adjust space count.
dec length # Adjust space count.
let w = word.strip(leading = false, chars = {','}) # Remove trailing ',' if needed.
echo fmt"Word {pos} is ""{word}"" with {word.count(Letters)} letters."
echo fmt"Word {pos} is ""{w}"" with {w.count(Letters)} letters."
echo fmt"Length of sequence: {length}"
echo fmt"Length of sequence: {length}"
break
break