Challenge: look and say sequence with every number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Challenge: look and say sequence with every number

The normal sequence is too simple for high skilled programmers like you, isn't it? :D Try to make a program where the input isn't about how many sequences can have the number one, but what sequences has an input So, summarizing the conditions: - the input is a number with from 1 to many digits (= for example 4889 can be a relevant number) - the program should generate as many sequence numbers as you wish - you can control it for example by putting a limited length of the sequence number Good luck! :)

1st Oct 2017, 9:28 PM
Neo
1 Answer
+ 2
Little change to my code. You can chose: - from which number to start - how many cycles to do https://code.sololearn.com/cDbVW5OlE5nz/?ref=app
1st Oct 2017, 10:21 PM
Andrea Simone Costa
Andrea Simone Costa - avatar