I have a bunch of variables as below.Now, I want to build a variable dynamically as below by iterating through for loop but surprisingly this won't work as .format can only be implemented for strings. Could anyone share your thoughts like how can this be implemented in Py?
build_a="123"
build_b="456"
build_c="789"
build_src = ['a','b','c']
build_list = {}
for word in build_src:
build_list[word] = build_{word}.format(word=word)