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.

This topic is READ ONLY
tonivuc (1) [Avatar] Offline
#1
I wrore every thing down, and have checked every word if it is correct. But when i try to run it it, says there is an syntax error, and highlights the word "elif" (11th line)
It wont let me run it. Help please?
maytham (7) [Avatar] Offline
#2
Re: Syntax error chapter 1 Listing 1,2
make sure that all words begin with the correct indenting 'cuz it will make a difference, because if u put the 'elif' with the 'if' , that will mean u put 'elif' under the 'if' blocks.

so overall, just make sure of spelling, indenting and spacing

yours sinecerly, maytham