News

Pyramid star pattern To print the Pyramid star pattern we need two loop. first is outer loop and second is inner loop. first loop that is the outer loop works on the row or line and the another loop ...
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 ...