📅  最后修改于: 2022-03-11 15:01:12.493000             🧑  作者: Mango
def reverse(s):
reversed = ""
count = len(s)
while count > 0:
reversed += s[count - 1]
count = count - 1
return reversed
s = "interview"
print(reverse(s))