Posts by hugo-souza • 93 points
1 post
-
9
votes3
answers318
viewsQ: Indentation in statement "Else"
What is the difference in the indentation of else "out of" the if. In this case it is to return the prime numbers up to the nth 'n' value. First case: for i in range(2, n): for j in range(2, i): if…