#!/usr/bin/env python3 a = "{HGNC:11892}" r = {'HGNC:11892': 'HGNC:11892'} print(a.format(**r))