[Solved]I need help with a task | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

[Solved]I need help with a task

The description and the attempt are provided by the link https://code.sololearn.com/cbe4caoJ63rf/# The method of blending doesn't work properly. Other Languages are welcome as well. I need a concept. Thank you!

11th Aug 2020, 4:32 AM
Vera
Vera - avatar
2 Answers
+ 1
each letter of the string has a position i. If this number is in line a and column b then 9*a+b =i
11th Aug 2020, 5:59 AM
Alexander Thiem
Alexander Thiem - avatar
0
Alexander, iterating trough the string we have just an index i. We can make guessing what place index "i" should get. But describing +2 variables behavior makes the code too complicated when we need to simplify the implementation. Anyway, thank you very much for your participation. I already found the solution just by checking all the conditions thoroughly.
12th Aug 2020, 1:03 AM
Vera
Vera - avatar