I am having a hard time to find a solution to merge two different type of element within the list.
list_i = ['teacher', '10', 'student', '100', 'principle', '2']
Result:
list_1 = ['teacher:10', 'student:100', 'principle:2']
Any help is greatly appreciated!!