Computer Science, asked by BaluBodapati, 1 month ago

write a program to right angle triangle in python
Note: The input will be a single line containing a positive number​

Answers

Answered by susmithayalaka
0

Answer:

Explanation:

if it is the right angled triangle in star pattern :

rows = int(input("Please Enter the Total Number of Rows  : "))

print("Right Angled Triangle Star Pattern")

for i in range(1, rows + 1):

   for j in range(1, i + 1):

       print('*', end = '  ')

   print()

Similar questions