Initial commit of project

This commit is contained in:
Mariam committed 2026-10-15 17:09:26 +02:00
commit fe550f1e01
14 files changed
+325

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
def reverse_string(s: str) -> str:
"""Return the reverse of the input string."""
return s[::-1]
if __name__ == "__main__":
import sys
if len(sys.argv) > 1:
input_str = sys.argv[1]
else:
input_str = "Hello, World!"
print(reverse_string(input_str))