Jan-15-2019, 04:34 PM
You are going to need a loop. Either a for loop or a while loop would do. You'll need a condtional (if/else) to decide when to start subtracting from the loop index (for loop) or decrementing instead of incrementing the loop index you are keeping track of your self (while) loop. Note that '*' * 3 = '***'. Once you have the right index, you'll need that to display the diamond.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures