编写程序, 定义一个变量为自己的姓名 ,然后通过字串符函数, 输出自己的姓名从右往左 比如王军, 输出军王
直接读取,输出字符串逆序不就好了嘛
name = input() print(name[::-1])