![]() So these are some basic rules that you must know so that it becomes easier for us to learn various concepts of python programming in the coming tutorials. ![]() if True:Īlso, the following code will give error, as the statements are differently indented: if True:Īgain, the correct way to do so is to keep all the statements of a particular code block at same indentation. It is recommended to use tab for indentation, although you can use spaces for indentation as well, just keep in mind that the amount of indentation for a single code block should be same. For example, sum = 123 + \Įxpressions enclosed in ( ), or are used to define a code block, but python doesn't use brackets, then how does python knows where a particular code block ends.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |