Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/llm_benchmark/strings/strops.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ def str_reverse(s: str) -> str:
str: Reversed string
"""
ret = ""
//this is all the commenets I added
// this is a manual Draft recommentation based on my thoughts
// edited
//edited from versions column tree dots
for i in range(len(s)):
ret += s[len(s) - 1 - i]
return ret
Expand All @@ -27,4 +31,4 @@ def palindrome(s: str) -> bool:
for i in range(len(s)):
if s[i] != s[len(s) - 1 - i]:
return False
return True
return True