In fact, if you already understand what the code looks like, and you can imagine it in your mind, you do not have to do it. In particular, if you can not use loop structures, I recommend not to do - too artificial, and too useless (you will not have how to solve it generically, for any value). Instead, take more challenging exercises
The goal is to make sure that anyone learning to program for the first time understands conditionalities - if you have already understood, you do not have to follow these restrictions: any real problems you take will exert the use of conditionals as well.
One place that has some cool issues is the project Euler - all problems are numeric in nature, and the answer is a single number, but almost everyone demands that you create a program to get the answer - and it does not matter to them how you did the program or in what language, just the answer number. The exercises are gradually becoming more difficult, and it soon becomes natural that either you make the algorithm more efficient, or your program would be running for a couple of years.