This project is about reverse a given string

What it does

It will reverse a given string. E.G if python is given as a input it will reverse in to onhtyp

Challenges we ran into



In future we change the code into to check the given string is a palindrome or not?


1.n=str(input()) we get the input from the user [it check whether it is a string or not . if it was not string it was shown error].

2.a=n[::-1]it was the main part of the code to reverse the string

  1. print (a) it will print the final output as the reversed string

Built With

Share this project: