code: def convert_using_api(from_currency, to_currency):
  	
  	convert_str = from_currency + '_' + to_currency
  	options = {'compact': 'ultra', 'q': convert_str}
  	api_url = 'https://free.currencyconverterapi.com/api/v5/convert'
  	result = requests.get(api_url, params=options).json()
  	return result[convert_str]
docs: convert from from_currency to to_currency by requesting API