Hi, I'm new to programming in
Use (row[x] or '') so that those that are None convert to '' .
(row[x] or '')
None
''
The comment of @ César is correct:)
Try using (row [x] or '') in such a way that those that are None are converted to ''