Oct-05-2018, 08:04 PM
Are you familiar with the modulus operator (%)? a % b is the remainder after you divide a by b.
Now, think of the strings you are generating as numbers. What is the right most character of the string always going to be equal to?
Combine that with integer division (//) and a for loop, and you can generate what you want.
Now, think of the strings you are generating as numbers. What is the right most character of the string always going to be equal to?
Combine that with integer division (//) and a for loop, and you can generate what you want.
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