Description:
Print a right-angled triangle pattern using stars.
Print a right-angled triangle pattern using stars.
Python Code
rows = 5
for i in range(1, rows + 1):
print("* " * i)
Expected Output
*
* *
* * *
* * * *
* * * * *