#NEWLINE# def browse_links( topic ) : #NEWLINE# #INDENT# if ( topic in d . keys ( ) ) : #NEWLINE# #INDENT# links = d [ topic ] #NEWLINE# print ( '{} resources:' . format ( topic ) ) #NEWLINE# for link in links : #NEWLINE# #INDENT# print ( '\t{}' . format ( link ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# print ( 'no category named {}' . format ( topic ) ) #NEWLINE# print_topics ( )