sscasc@tumkur create new file named example py and following code to itprint("welcome to python program"print("bca th sem"print("sscasc tumkur"by conventionall python programs have py extension the file example py is called source code or source file or script file or module execute by typing the following command an obtained out as followspython example py welcome to python program bca th sem sscasc tumkur indentationwhitespace is important in python actuallywhitespace at the beginning of the line is important this is called indentation leading whitespace (spaces and tabsat the beginning of the logical line is used to determine the indentation level of the logical linewhich in turn is used to determine the grouping of statements this means that statements which go together must have the same indentation each such set of statements is called block one thing you should remember is that wrong indentation can give rise to errors basic elements of python comments comments are non-executable statements it means neither compiler nor pvm will not execute them comments are any text to the right of the symbol and is mainly useful as notes for the reader of the program there are two types of comments in pythonsingle line comments and multiline comments single line commentsthis comment starts with hash symbol (#and are useful to mention that the entire line till the end should be treated as comments eg to find the sum of two number = assign to variable in the above examplefirst line starts with and hence the total line treated as comments in second line part of this line starting from to the end of the line treated as comments multi line commentsthe triple double quotes ("""or triple single quotes ('''are called multi line comments or block comments they are used to enclose block of lines as comments eg- ""this is illustrated as multi line comments to find the sum of two number using triple double quotes "" identifiersidentifier is the name given to various program elements like variablesfunctionarraysclassesstrings etc the python identifiers follow the following rulesi the name should begin with an alphabet sp_python programming