Solution Exercise 16: python algorithm that displays all the characters in a given string
Exercise16 Write a Python program that prompts the user to enter a string and then displays all the characters in the string by two different methods. Example for s =…