required heretooif you are pining for your programming days (if such state is possibleyou can continue to use semicolons at the end of each statement--the language lets you get away with them if they are presentbecause the semicolon is also separator when statements are combined but don' do that either (really!againdoing so tells the world that you're programmer of -like language who still hasn' quite made the switch to python coding the pythonic style is to leave off the semicolons altogether judging from students in classesthis seems tough habit for some veteran programmers to break but you'll get theresemicolons are useless noise in this role in python end of indentation is end of block the third and final syntax component that python removesand the one that may seem the most unusual to soon-to-be-ex-programmers of -like languages (until they've used it for minutes and realize it' actually feature)is that you do not type anything explicit in your code to syntactically mark the beginning and end of nested block of code you don' need to include begin/endthen/endifor braces around the nested blockas you do in -like languagesif ( yx insteadin pythonwe consistently indent all the statements in given single nested block the same distance to the rightand python uses the statementsphysical indentation to determine where the block starts and stopsif yx by indentationi mean the blank whitespace all the way to the left of the two nested statements here python doesn' care how you indent (you may use either spaces or tabs)or how much you indent (you may use any number of spaces or tabsin factthe indentation of one nested block can be totally different from that of another the syntax rule is only that for given single nested blockall of its statements must be indented the same distance to the right if this is not the caseyou will get syntax errorand your code will not run until you repair its indentation to be consistent why indentation syntaxthe indentation rule may seem unusual at first glance to programmers accustomed to -like languagesbut it is deliberate feature of pythonand it' one of the main ways that python almost forces programmers to produce uniformregularand readable introducing python statements