Python program to print triangle pattern of prime number
Answers
Answered by
0
Answer:
Howcanyouseparatemixtureofpetrolandwater?Theprocessinwhichaninsolublecomponentisremovedfromtheliquidmixture.
Answered by
1
Answer:
•n = int(input("Enter the number of rows: "))
•m = (2 * n) - 2
•for i in range(0, n)
•for j in range(0, m)
•print(end=" ")
•m = m - 1 # decrementing m after each loop
•for j in range(0, i + 1)
•# printing full Triangle pyramid using stars.
Explanation:
Mark me as a Brainliests
Similar questions