Membalikkan string menggunakan sintaks slice yang diperluas dalam python
def reverse(string):
string = string[::-1]
return string
s = "SoftHunt"
print ("The original string is : ",end="")
print (s)
print ("The reversed string(using extended slice syntax) is : ",end="")
print (reverse(s))
Outrageous Ostrich