A = ['1', '2', '3']
A = int("".join(A))
print(A)
结果为:123
如果需要反转的数字,则
A = ['1', '2', '3']
A = reversed(A)
A = int("".join(A))
print(A)
结果为:321
A = ['1', '2', '3']
A = int("".join(A))
print(A)
结果为:123
如果需要反转的数字,则
A = ['1', '2', '3']
A = reversed(A)
A = int("".join(A))
print(A)
结果为:321