Answer:
The solution code is written in Python 3
Explanation:
The code in line 2-3 and line 5-9 are to use for-loop and while loop to print the course string character by character. This is possible to use the loop to traverse through the string and extract each character and print them out.
We can concatenate the string as shown in Line 11 and print a joined string (Line 12). But we can't slice the string and change the individual character as strings are immutable.