I am utilizing the accompanying loop code to print the star pattern and the code is turned out completely great. Here is my code
for i in range(1,6):
for j in range(i):
print("*", end=" ")
print()
Output:
*
* *
* * *
* * * *
* * * * *
But, How to get this pattern?
*
* *
* * *
* * * *
* * * * *