as nilamo is describing, you ended the conditional structure before you intended to. place test code in a small file. make it test only one thing. then run it instead of using the interactive mode. long code is hard to work with in interactive because you probably have to type it again a few times. then it is easier to edit the file and run it again.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.