Can someone help me with this problem.
Here is my code but it is far away to the solution
def get_value_from_pyramid(l):
for i in range(0,l):
num=1
for j in range(0,i+1):
if i == j:
num=1
print(num, end=" ")
num+=1
print("\r")