Howdy all:

My apologies if this has been addressed; I tried searching for a while with no luck.

I'm trying to find a way to code a nested for loop that produces the following output:

1333

2222

3331

4444

To be honest, I don't know where to start. For instance, I spent 3 hours today trying to find some complex formula for what turned out to be simple "squared" powers.

If anyone can help in any way possible, I'd be greatly appreciative.