# If the example output is intended terms = int(input("Enter the Total Number of Terms:\n")) for i in range(16): print(f"2 raised to the power {i} is {2 ** i}")