Untitled

 avatar
unknown
python
a year ago
130 B
5
Indexable
s =  input()
def dao_nguoc(s):
  txt = ''
  for i in range(len(s)-1,-1,-1):
    txt = txt + s[i]
  return(txt)
print(dao_nguoc(s))
Editor is loading...
Leave a Comment