Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
first and last digit codechef solution
Deusovi
Programming language:
Python
2021-08-01 18:00:32
0
Q:
first and last digit codechef solution
Markus
Code:
Python
2021-07-27 15:11:52
t=int(input()) for i in range(t): x=str(input()) a=int(x[0]) b=int(x[-1]) c=a+b print(c)
0
Tags
git
code
first
digit
last
Related
python how to choose last digit of number
first_last6
solve me first hackerrank solution in python
first and last name generator python
Lucky four codechef solution
New to Communities?
Join the community