String Reversal
Programming Questions
String Reversal
You are given a function string_reversal, with input str word. You are to return the string in reverse.
Input:
- word: The string to be reversed
Example 1:
positive_and_even("Hello, world!") = "!dlrow ,olleH"
Example 2:
positive_and_even("Tony") = "yonT"
Example 3:
positive_and_even("race car") = "rac ecar"
Tests - Login / Sign up to submit your code!
Efficiency
Test Case 1
Test Case 2
Test Case 3
Test Case 4
Test Case 5
Test Case 6
Test Case 7
Test Case 8
Test Case 9
Test Case 10
Submit to See Results
Submit to See Results
Submit to See Results
Submit to See Results
Submit to See Results
Submit to See Results
Submit to See Results
Submit to See Results
Submit to See Results
Submit to See Results
Submit to See Results