diff --git a/Strings/strings_example_en.py b/Strings/strings_example_en.py index 8921c9f..932d511 100644 --- a/Strings/strings_example_en.py +++ b/Strings/strings_example_en.py @@ -45,5 +45,10 @@ str2 = "there !" print (str1 + str2) +#example 6 +#added by @madforpython +#This example demonstrates how to reverse string +str5='Hey Contributers' +print(str5[::-1])