Posts

Showing posts from September, 2020

Reversing A String In Python Language Or Python 3

Image
#Stringrev.py #Here we Use The Indexes in reversing  a string and the code will be: def   reverse ( a ):      return  (a[::- 1 ]) print (reverse( "Your String" )) # Here I used A function To Make It Easy