So, I have this code
num = int(input("Enter the Number: ")) for i in range(1, num+1): for j in range(0, i): print(" ", end="