python

  1. gimmock25

    In Python, how can we determine whether an n-digit integer is an Armstrong number or not?

    So, after reading and studying, I attempted to answer a question. Assume a user enters an n-digit number. How do we know if it's Armstrong or not? One technique may be to record a list of all Armstrong numbers and then check from that list, but I wanted to use a different approach. This is my...
Back
Top Bottom