DevJourney · code I wrote while learning

main.py

111 B
x = 5

for row in range(x, 0, -1):
    for item in range(row, 0, -1):
        print(item, end=" ")
    print()