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

22nd Aug 2018, 9:57 AM
Sourabh Mehto
Sourabh Mehto - avatar
3 Respuestas
- 1
Show us your attempt by providing what you have coded so far and we will help you.
22nd Aug 2018, 10:32 AM
Steppenwolf
Steppenwolf - avatar
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)
25th Sep 2019, 3:23 PM
Tanmoy Mitra
Tanmoy Mitra - avatar
- 1
LETS PLAY
25th Aug 2018, 12:19 PM
Yan
Yan - avatar