标签:ase str lease python 反转 print The style reverse
1 s=input(‘Please input the string:‘) 2 temp=list(s) 3 temp.reverse() 4 #列表转换为字符串 5 print(‘‘.join(temp))
标签:ase str lease python 反转 print The style reverse
原文地址:https://www.cnblogs.com/feihujiushiwo/p/10917231.html