1.1 Display binary numbers (without calculations)

Python solution

View solution

This is just one of many possible solutions:

print(1)
print(2)
print(4)
print(8)
print(16)

Back to programming challenge

Extra Challenge

Display the numbers from largest to smallest (display numbers 16, 8, 4, 2 and 1).