I need to create a function that reverses a string.
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!
I need to create a function that reverses a string.
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!