Since this might be some homework or something as specified above by @cge as well, I just hope that a difference of two years is enough and I am writing the answer to tell about something which lot many aren't well aware of in Python.
See the pattern you are trying to make is one of the most common things asked to form in any programming language and quite easy to make in Java or C++. But this same thing came to my mind while thinking of how will I make such pattern in Python because while using Python, the print() function changes the line whenever used. So there is no feature like we have in Java where print and println are two different things.
Now here's an interesting thing to know about. In Python 3, with the introduction of print as a method, some other things also came with it which also had this thing called end="\n" attached to it as default. This is the reason why when being called, the print function ends up on the next line. So all we need to do is not let the default work.
Here's how the code works:
for i in range(6):
for x in range(6):
if i!=0:
print(" ",end="")
i-=1
else:
print("*",end="")
print()
So we see that using the above additional features of the print function, we can make use of and create such patterns as you have asked.