l = int(input(‘请输入一个三位数的整数‘)) a = l // 100 b = l //10 % 10 c = l % 10 ret = c * 100 + b * 10 + a * 1 print(ret)
原文地址:https://www.cnblogs.com/chengxubo/p/9902294.html
时间: 2024-11-06 04:57:43
l = int(input(‘请输入一个三位数的整数‘)) a = l // 100 b = l //10 % 10 c = l % 10 ret = c * 100 + b * 10 + a * 1 print(ret)
原文地址:https://www.cnblogs.com/chengxubo/p/9902294.html