Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

adding the first place value and second value in python

two_digit_number = input("Enter a two digit number:- ")
first_Digit = int(two_digit_number[0])
second_digit_number = int(two_digit_number[1])
calculation = first_Digit + second_digit_number
print(calculation)
 
PREVIOUS NEXT
Tagged: #adding #place #python
ADD COMMENT
Topic
Name
4+5 =