a python program to input a single digit number and print its 3 digit number created as (n(n+1)(n+2)). for example if you input 5 then the output should be 567.no spambest answer would be marked as the brainliest
Answers
Answered by
1
Answer:
n=(int)(input ("Enter a number"))
new_number=(n*100)+(n+1)*10+(n+2)
print (new_number)
Similar questions