Light Mode
Dark Mode
No need for print?
def backward_string(val: str) -> str:
    return val[::-1]

Why doesn't "return print(val[::-1])" work?

Created: Sept. 7, 2023, 1:49 p.m.
Updated: Dec. 30, 2023, 2:10 p.m.
0
3
User avatar
ldacon