Powers of 8

# Powers of 8
#
# Print powers of 8 in decimal and binary numbers
#

count = input("How many powers of 8 do you want to see? ")
count = int(count)  # change from string to integer

if count > 100:
    print("You trying to break me?")
    count = 0

power = 2
for n in range(count):
    print(power, bin(power))
    power = power * 2