How To Find Armstrong Number In Python Using Global Variables