+ 1
3. Write a program to print the following output for the given input. You can assume the string is of odd length .
Eg 1: Input: 12345 Output: 1 5 2 4 3 2 4 1 5
1 ответ
+ 2
input a number not string, try to input less than 10.
check it for odd input and then also try for even number input
https://code.sololearn.com/cBjAN964lvcG/?ref=app