Commit 6b1b271f authored by Sai Mounika's avatar Sai Mounika
Browse files


parent f26b4e66
n=raw_input("enter the string")
print n[1::]
\ No newline at end of file
print n[::-1]
input: abc
output: cba
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment