In this challenge, you'll create a function that reverses a string.
For example, given the string "forward", your function should return "drawrof".
Please do the following:
Name your function reverse.
Call your function with the input string This is my string. and assign the result to the variable my_string.
Print out my_string!
NOTE: Do NOT use input for your function as it cannot be used in this test environment. You should also assume that all inputs are strings, so you do not need to check for this.

    • 4 years ago
    Answer Attached
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      drawrof.docx