输入一个字符串,逆序输出

Posted on 2022-10-10 19:14  lachesism  阅读(73)  评论(0编辑  收藏  举报
a=input('','s');
b=a(end:-1:1);
disp(b);