Creating a Power of Two List - Solution Guide
Write a Python function to generate a list containing powers of 2 up to a given integer n.
Write a Python function to generate a list containing powers of 2 up to a given integer n.
Usage of the exponentiation operator ** in Python