write a program in python to reverse a string!
Answers
Answered by
5
Answer:
word=input(" Enter the string to be reversed:")
reverse=word[::-1}
print(reverse)
PLEASE MARK ME AS BRAINLIEST
THANK YOU!
Answered by
0
Answer:
string = "abhishek" [::-1]
print(string)
explanation
we use here reverse slicing method for rversing the string.
Similar questions
Chemistry,
21 days ago
Psychology,
1 month ago
Social Sciences,
1 month ago
Physics,
8 months ago
Physics,
8 months ago