miscellaneous topics iii statements on the same line the same line you can write an if statement and the statement that goes with it on if == print'hello 'you can also combine several statements on line if you separate them by semicolons for examplea= = = don' overuse either of theseas they can make your code harder to read sometimesthoughthey can make it easier to read calling multiple methods you can call several methods in rowlike belows open'file txt 'read(upper(this example reads the contents of filethen converts everything to uppercaseand stores the result in againbe careful not to overdo it with too many methods in row or your code may be difficult to read none in addition to intfloatstrlistetc python has data type called none it basically is the python version of nothing it indicates that there is nothing when you might have expected there to be somethingsuch as the return value of function you may see it show up here and there documentation strings when defining functionyou can specify string that contains information about how the function works then anyone who uses the function can use python' help function to get information about your function here an exampledef square( )""returns squared ""return ** help(squarehelp on function square in module __main__square(xreturns squared you can also use documentation strings right after class statement to provide information about your class running your python programs on other computers your python programs can be run on other computers that have python installed macs and linux machines usually have python installedthough the version may not be up to date with the one