14. Write a program to input a single digit (n) and print a 3 digit number created as e.g., if you input 7, then it should print 789. Assume that the input digit is in range 1-7.

# 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 : 6
The three digit number is : 678