Generate code in [programming language] that fulfills the following requirements described in comments: [comments].
Uses plain-language requirements to create functional code quickly.
# Comment: Create a Python function to reverse a string β def reverse_string(s): return s[::-1]
Log in to suggest improvements.