+ 7
For input, you can use the input function like this :
num = input ("Enter a number : ")
For checking the number, you can run a loop with a condition that the num is not equal to 0.
Then find the separate the digits (find remainder), then find cube of each digit (cube root of the remainder we get every time in the loop)and store it in another variable (say cube for example).
At the end of loop, keep diving the num by 10, as num is a decimal number and base of a decimal number is 10.
After the num becomes 0, the control of program is out of the loop. Then compare the num and cube variable. If both are same then the number is Armstrong else not.