sample_dictionary={'Ballaji 05': 'QA', 'Priya 06': 'QA tech'}
sample_dictionary={key.replace(" ",""):value
for key,value in sample_dictionary.items()
}
print(sample_dictionary)
>>{'Ballaji05': 'QA', 'Priya06': 'QA tech'}