mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
11 lines
204 B
Python
11 lines
204 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
|
|
def reverse(value):
|
|
if not isinstance(value, str):
|
|
return None
|
|
result = ''
|
|
for i in reversed(range(len(value))):
|
|
result += value[i]
|
|
return result
|