From beef4ada35787cbcf12a18f2d75cb8b27e1a58bc Mon Sep 17 00:00:00 2001 From: madforpython <50396857+madforpython@users.noreply.github.com> Date: Thu, 1 Oct 2020 01:16:49 +0530 Subject: [PATCH] Add files via upload --- Strings/strings_example_en.py | 5 +++++ 1 file changed, 5 insertions(+) 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])