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

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