Unit 2 Task 48 - Solution

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Solution - Task 48: Star triangle banner

← Back to task


One possible program:

row_count = int(input("Rows: "))

for row in range(1, row_count + 1):
    print("*" * row)