1616: 蓝桥杯算法训练VIP-反置数
摘要:a,b=map(str,input().split())
def yu(num):
return int(num[::-1])
s=yu(a)+yu(b)
print(yu(str(s……
蓝桥杯算法训练VIP-反置数-题解(Python代码)python 开荒柘 两行!
摘要:```python
base=[i for i in input().split()]
print(int(str(int(base[0][::-1])+int(base[1][::-1]))[:……
题解: 蓝桥杯算法训练VIP-反置数【Python】
摘要:解题思路:转为字符串,逆序后再转为int参考代码:def func(num):
num = [i for i in str(num)]
return int(''.……