News

Star triangle pattern in Python. For example, with a right-angle triangle, the number of stars on any given row is equal to the row you're on. Here's the code for that: for i in range(0,10): for j in ...
Day 22 : of python problem solving Question : Print Right-Angled Triangle of Stars Solution : def print_right_angled_triangle(n): for i in range(1, n +… ...