mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
8 lines
128 B
Python
8 lines
128 B
Python
def problem_p03227(input_data):
|
|
s = eval(input_data)
|
|
|
|
if len(s) < 3:
|
|
return s
|
|
|
|
else:
|
|
return s[::-1]
|