Results comments of Lee Zee

I'm confused as to how line 22 is correct. In line 21, it seems like the logic is saying that if the number 9 is not found while we are...

VigneshSahoo, Sorry about that. Somehow, I inadvertently added the code below the return statement. I have now edited it out. Thank you for posting your solution. I was in fact...

Ok, but if add is changed to True when a 9 appears as under else in 2nd while loop, why wouldn't it just add the 9 to the 6? After...

Ok, thanks. I think I get it :)

Can someone please help me with the following code for a function that returns the count of prime numbers up to and including the input number? ``` def count_primes(num): start...

Rajsardhara, Thank you. So, I see how if the 'if' statement condition is met then break is executed and then the 'else' statement does not execute. But, I'm wondering why...