Computer Science, asked by johnmathewson123, 1 month ago

write a program in python to reverse a string!​

Answers

Answered by aj200260
5

Answer:

word=input(" Enter the string to be reversed:")

reverse=word[::-1}

print(reverse)

PLEASE MARK ME AS BRAINLIEST

THANK YOU!

Answered by abhishek1301
0

Answer:

string = "abhishek" [::-1]

print(string)

explanation

we use here reverse slicing method for rversing the string.

Similar questions