#NEWLINE# def get_optimal_services( crypto , type_of_service ) : #NEWLINE# #INDENT# from . crypto_data import crypto_data #NEWLINE# try : #NEWLINE# #INDENT# return crypto_data [ crypto . lower ( ) ] [ 'services' ] [ type_of_service ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise ValueError ( ( 'Invalid cryptocurrency symbol: %s' % type_of_service ) )