5 lines
165 B
Python
5 lines
165 B
Python
# 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}")
|