<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><blockquote type="cite"><div><blockquote type="cite"><span>dato = [('1','2','3','4','5','None','None')]</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>vorrei sostituire il valore 'None' con '' (vuoto)</span></blockquote></div></blockquote><div><br></div><div><span style="color: rgb(50, 255, 0); font-family: Courier; font-weight: bold;">>>> x = [[v if v != 'None' else '' for v in d] for d in dato]</span></div></body></html>