This commit is contained in:
jaegerfl104085 committed 2026-10-20 16:04:15 +02:00
commit a8ee8bad99
7 files changed
+458

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
"""
Reverse string utility.
This script prompts the user for a string and prints the reversed version.
"""
def main():
user_input = input("Please enter a string to reverse: ")
reversed_string = user_input[::-1]
print("Reversed string: ", reversed_string)
if __name__ == "__main__":
main()