# Python statements # A Python statement is terminated by the end of the physical line, # represented by the end of line character: \n. print('hello') print('hello again'); # Not recommended Python style. print('hello '); print('world'); # the second argument (end = ' ') indicates that the end string # for the print statement is ' ', and not the default '\n' print('hello ', end = ' '); print('world'); # \n is the end of line character. \ is used here for 'escaping' a character into special characters. print('first line\nsecond line\nthird line'); # Because of the , character, Python knows that this # not the end of the statement and extends it to the next line. print('hello', 'world') # The character \ extends the statement to the next line. # There should not be any character after \. print('hello' \ , 'world')