39.py 1 2 3 4rows = int(input("Enter Number Of Rows : ")) for row in range(1, rows + 1): print(" " * (rows - row) + "*" * row)