摘要:
1 s=input('Please input the string:') 2 temp=list(s) 3 temp.reverse() 4 #列表转换为字符串 5 print(''.join(temp)) 阅读全文
posted @ 2019-05-24 11:48
飞虎就是我
阅读(1962)
评论(0)
推荐(0)
摘要:
这里直接使用sort函数,没有用排序算法排序 sort是升序排序,默认sort(reverse=False) 阅读全文
posted @ 2019-05-24 10:56
飞虎就是我
阅读(340)
评论(0)
推荐(0)

浙公网安备 33010602011771号