+ 7
***[SUPER_CHALLENGE]***
Write a program to tighten input (string) in a spiral. The number of characters for input: less than 100. Example: input: Hello, WorLd! output: ! O L L d , H E L W o r input: Write a program to tighten input (string) in a spiral. output: . l a r i u p n i n p t r g o r e s a i r p t ( m t W h a s e a g t t o t i n r i n g ) i
8 Answers
+ 14
@dimon...
thanks...đ
+ 4
My solution: https://code.sololearn.com/cEelY9SBQ7wi/?ref=app
+ 4
Great try with nice Python code from Kazi!!!
+ 3
Can do spirals both ways https://code.sololearn.com/c9rF128ww3aV/?ref=app
+ 3
Hi, VcC! Nice solution, but the lenght of string input may vary. I have inputted abc...xyz (26 symbols) and your program returned a mistake (string index out of range)
+ 1
i just adapted a number spiral quickly. fixed