Solution Exercise 20: swapping the first character and the last character of a string in python

Exercise20 Write a Python program, to swap the first and the last character of a given string. Solution

 …