I have this python code, I want to convert the NoneType variable into a string, so I wrote this condition to catch it, but i'm unable to overwrite it. How can that be done ? Thanks
int_list= ['10','3',None,'5','8']
i = 0
for l in int_list:
if l is None:
l == 'hello'
print l
i+=1
Expected Output:
10
3
hello
5
8