number  = 5
      square = pow(number, 2)
      if square % 10*len(str(number)) == number:
        print("it's an Automorphic Number")
      else:
        print("It's not an Automorphic Number")
      
      Python language logo

      Automorphic number

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.