sscasc@tumkur other dictionary functionssimilar to lists and tuplesbuilt-in functions available for dictionary len()to find the number of items that are present in dictionary exampleport { "http" "https" :"telnet"print(len(port) max()-it returns the key with the maximum worth exampledict { :"abc", :"hj" :"dhoni"(" "," "):"game""hj": max(dict (' '' 'min()it returns the dictionary' key with the lowest worth the syntax of the method is as followsexampledict ={ 'abc'( )'kl' 'hj' 'dhoni''hj' min(dict files files are used to store data permanently data used in program is temporaryunless the data is specifically savedit is lost when the program terminates to permanently store the data created in programyou need to save it in file on disk or some other permanent storage device the file can be transported and can be read later by other programs python' standard library has file class that makes it easy for programmers to make objects that can store data toand retrieves data fromdisk in order to read and write into filewe will use the open(built-in function to open the file the open(function creates an file_object object the syntax isfile_object open(file_name ,access_modethe first argument,file_namespecifies the filename that is to be opened the second argumentaccess_modedetermines in which mode the file has to be openedthat isreadwrite and append sp_python programming