Program to print the following Pattern :
0
2 2
4 4 4
8 8 8 8
print(0)
for i in range(1,4):
for j in range(1,i+2):
print(2**i, end=" ")
print(end ="\n")
0
2 2
4 4 4
8 8 8 8
print(0)
for i in range(1,4):
for j in range(1,i+2):
print(2**i, end=" ")
print(end ="\n")
BY: MADHULIKA DEBNATH