reverse (Function)
Signature: reverse(s: string) -> string
Description: Reverses byte order.
Parameters
- s (
string): The string to reverse
Returns: string
Example
print(reverse("abc")) // "cba"
print (reverse "abc") // "cba"
Signature: reverse(s: string) -> string
Description: Reverses byte order.
string): The string to reverseReturns: string
print(reverse("abc")) // "cba"
print (reverse "abc") // "cba"