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 ...
Pyramid star ... second loop work for the column. Step 4- now print the *. Step 5- now out side of loop, put new line. Step 5- stop. C JAVA Python 1 Python 2 C++ for i in range(5):print(“* “*(i+1)) 2.