exd={ :'one', :'two' clear(print( )pop():this method is used to remove the keys from dictionary syntaxdictname pop(keyexf={ :'app', :'man', :'stra' pop( print( #output{ :'man', :'stra'iterators and generators note:for clear explanation refer to iterators are containers for objects so that you can loop over the objects in other wordsyou can run the "forloop over the object there are many iterators in the python standard library for examplelist is an iterator and you can run for loop over list python generator gives us an easier way to create python iterators this is done by defining function but instead of the return statement returning from the functionuse the "yieldkeyword for examplesee how you can get simple vowel generator below comprehensions comprehensions in python provide us with short and concise way to construct new sequences (such as listssetdictionary etc using sequences which have been already defined comprehensions are of three typeslist comprehensions set comprehensions dict comprehensions list comprehensions were introduced in python while set and dict comprehensions have been introduced in python list comprehensions bv prasanthi dept of cse page