From c7c4797b537b45453cb01bb1e0e14ea6ec8fab67 Mon Sep 17 00:00:00 2001 From: PRIYANSHU TRIPATHI <71384373+priyansh1114@users.noreply.github.com> Date: Thu, 7 Jan 2021 13:06:02 +0530 Subject: [PATCH] Add files via upload --- Python/reverse a string.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Python/reverse a string.py diff --git a/Python/reverse a string.py b/Python/reverse a string.py new file mode 100644 index 0000000..50cd17b --- /dev/null +++ b/Python/reverse a string.py @@ -0,0 +1,2 @@ +n='i am a good man' +print("".join(map(str,reversed(n))))