結果 : how to do powers of 2 in python