📅  最后修改于: 2022-03-11 14:45:08.199000             🧑  作者: Mango
n = int(input("Enter any number : "))
number = str(n)
first = int(number[0])
last = int(number[-1])
print(f"sum of {first} and {last} is : ",sum)