Guess the output of Python code

terms = 6
result = list(map(lambda x: 2 ** x, range(terms)))

print("The total terms are:",terms)
for i in range(terms):
print("2 raised to power",i,"is",result[i])



Posted on by