RosettaCodeData/Task/Look-and-say-sequence/R/look-and-say-sequence-2.r
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

6 lines
62 B
R

x <- 1
for(i in 1:10)
{
x <- look.and.say(x)
print(x)
}