def rev ( s ) :
if ( s == s[0] ) :
return s[0]
else :
n = s[-1] + rev ( s[ : -1 ] )
return n
st = input ( ” Enter String : “)
r = rev ( st )
print ( ” Reverse of String is : “,r )
More Python Code Click Here
For Any Help/Doubt/Classes – WhatsApp me – http://quantainfotech.com/WhatsApp
For PHP Script/ Payment Gateways – Visit – https://demo.quantainfotech.com/
Hi! Why u Looting People
Where i’m looting people. Please tell me.
Definition of Topic Plz
this is just sample code.