"Ten digit: Given an integer. Print its tens digit." - Snackify python coding question

 


 

CODING QUESTION

Given an integer. Print its tens digit.

SOLUTION

a = int(input())
a =a//10
print(a%10)

Input : 73

Output : 7