method name keys values items get get use explanation returns the keys of the dictionary in dict_keys object my_dict values(returns the values of the dictionary in dict_values object my_dict items(returns the key-value pairs in dict_items object my_dict get(kreturns the value associated with knone otherwise my_dict get( ,altreturns the value associated with kalt otherwise my_dict keys(table methods provided by dictionaries in python dict_keys(['brad''david']list(phone_ext keys()['brad''david'"bradin phone_ext true in phone_ext false is not key in phone_ext phone_ext values(returns the values of the dictionary phone_ext dict_values([ ]list(phone_ext values()[ phone_ext items(dict_items([('brad' )('david' )]list(phone_ext items()[('brad' )('david' )phone_ext get("kent"phone_ext get("kent","no entry"'no entrydel phone_ext["david"phone_ext {'brad' input and output we often have need to interact with userseither to get data or to provide some sort of result most programs today use dialog box as way of asking the user to provide some type of input while python does have way to create dialog boxesthere is much simpler function that we can use python provides us with function that allows us to ask user to enter some data and returns reference to the data in the form of string the function is called input python' input function takes single parameter that is string this string is often called the prompt because it contains some helpful text prompting the user to enter something for exampleyou might call input as follows review of basic python