Talk:Python Programming/Loops/Solutions

I'm a complete noob when it comes to Python, and my math is a bit rusty, but wouldn't the following code accomplish the same thing, in a simpler way, and also avoiding all such pseudo-primes? I sincerely apologize if I'm wasting everyone's time here. Atelaes (talk) 20:30, 5 July 2009 (UTC)