There is another cheap way of doing so. Use five print statements each one with different number of *s. I am not trying to do this for you but consider the fact that you have 1 * in the first row, 2,...