How to check if a number is power of 2 python July 8, 2019 16 32 64 128 Power of two python Power of number in python How to check whether the number is prime or not in python