adding the first place value and second value in python

Solutions on MaxInterview for adding the first place value and second value in python by the best coders in the world

showing results for - "adding the first place value and second value in python"
Sophie
25 Jan 2019
1two_digit_number = input("Enter a two digit number:- ")
2first_Digit = int(two_digit_number[0])
3second_digit_number = int(two_digit_number[1])
4calculation = first_Digit + second_digit_number
5print(calculation)
6