Ad
  • Default User Avatar

    Try these numbers
    print powerof4(1125899906842624)
    print powerof4(1125899906842625)
    the first is 4**25, the second should return false.
    See my solution.

  • Custom User Avatar

    I would recomend to fix mistake with test powerOf4(1), because every number^0 = 1;