Drawrof | Computer Science homework help


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.

"Get 15% discount on your first 3 orders with us"
Use the following coupon

Order Now