The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Y.G. Bae (36) [Avatar] Offline
With if statements:
if num < 6:
    print("num is less than 6")
if num < 10:
    print("num is less than 10")
if num > 3:
    print("num is greater than 3")

Due to the indentation on print("Finished."), "Finished." doesn't show up when the num is 0, but the answer says otherwise. Therefore, either the answer should be corrected or the line should be unindented.
Ana Bell (33) [Avatar] Offline
You are right, the print should not be indented. I will fix this.