def reverse_string(s): \n  str = "" \n  for i in s: \n    str = i + str\n  return str \n  \nprint(reverse_string("Hello World"))
Create a function that takes a string as an input and outputs the reversed string.?