0
write a python program to input a single digit(n) and print 3 digit number created as <n(n+1)(n+2)>.
please make program
3 Answers
- 1
Show us your attempt by providing what you have coded so far and we will help you.
0
⢠n = int(input("Enter a single digit number:"))
⢠a = n + 1
⢠b = n + 2
⢠x = (n*100) + (a*10) + b
⢠print("The three digit number is:", x)
- 1
LETS PLAY