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

 

Younes Derfoufi
CRMEF OUJDA

2 thoughts on “Solution Exercise 20: swapping the first character and the last character of a string in python

Leave a Reply