Answers for "first and last digit codechef solution"

0

first and last digit codechef solution

t=int(input())
for i in range(t):
    x=str(input())
    a=int(x[0])
    b=int(x[-1])
    c=a+b
    print(c)
Posted by: Guest on May-20-2020

Code answers related to "first and last digit codechef solution"

Python Answers by Framework

Browse Popular Code Answers by Language