79729930

Date: 2025-08-08 15:05:27
Score: 0.5
Natty:
Report link

I made a program that checks how high you can make a pyramid from a number of bricks. Hope it helps :

blocks = int(input("Enter the number of blocks: "))

height = int(0)

layer = int(0)

while(blocks > layer):
    layer += 1
    blocks = blocks - layer
    height += 1
print(height)
Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: David