sscasc@tumkur the expression end=is known as keyword will cause the cursor to remain on the same line as the printed text without this keyword argumentthe cursor moves down to the next line after printing the text another way to achieve the same result is print(end='please enter an integer value'this statement means "print nothingand then terminate the line with the string 'please enter an integer value:rather than the normal \ newline code the statement print('please enter an integer value:'end='\ 'that isthe default ending for line of printed text is the string '\ 'the newline control code similarlythe statement printis shorter way to express print(end='\ 'by defaultthe print function places single space in between the items it prints print uses keyword argument named sep to specify the string to use insert between items the name sep stands for separator the default value of sep is the string ' string containing single space the program printsep py shows the sep keyword customizes print' behaviour program to illustrate sepwxyz print(wxyzprint(wxyzsep='print(wxyzsep='print(wxyzsep='print(wxyzsep=''the output , , , : : : formatting numbers and strings format function is used to return formatted string for displaying numbers in certain desirable format for examplethe following code computes interestgiven the amount and the annual interest rate amount interestrate interest amount interestrate print("interest is"format(interest ")interest is the syntax to invoke this function is format(itemformat-specifierwhere item is number or string and format-specifier is string that specifies how the item is formatted the function returns string sp_python programming