ltoshea
2/6/2019 - 3:59 PM

Covert String of Chars to dict

s1 = 'hello'
new_dict = dict.fromkeys(s1,1)