PythonでHTMLテーブルを作成しようとすると、次の構文エラーが発生します。誰かがここで問題を指摘できますか?
for i in range(len(PLlis)):
print "i"
print i
outstring += "<tr>\n"
outstring += "<td><a href="wikilinklis[i]">PLlist[0]</a></td>\n"
outstring += "<td>build_locationlis[i]</td>\n"
outstring += "<td>lis[i]</td>\n"
outstring += "<td>Host_loc</td>\n"
outstring += "<td>Baselis[i]</td>\n"
outstring += "</tr>\n"
outstring += "</table>\n"
return outstring
構文エラー:-
outstring += "<td><a href="wikilinklis[i]">PLlist[0]</a></td>\n"
^
SyntaxError:無効な構文