10. Write a program to find the area of a triangle.
10. Write a program to find the area of a triangle. Read More »
# Code n = input(‘Enter a single digit number : ‘) num = n + str(int(n)+1) + str(int(n)+2) # we have converted the number to int type to add 1 & 2 and then converted back to str type for concatenation print(‘The three digit number is :’, num) # Output Enter a single digit number