S
stef
hello,
can someone tell me why the following iteration doesn't work,
and
how I should replace empty strings in a list with a default value.
.... items='3'
....
thanks,
Stef Mientki
can someone tell me why the following iteration doesn't work,
and
how I should replace empty strings in a list with a default value.
.... if items=='':>>> v ['123', '345', '', '0.3']
>>> for items in v:
.... items='3'
....
>>>
>>> v ['123', '345', '', '0.3']
>>>
thanks,
Stef Mientki