I am trying to construct a HTML table in python and running into the following syntax error,can anyone please point what is the issue here?
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
SYNTAX ERROR:-
outstring += "<td><a href="wikilinklis[i]">PLlist[0]</a></td>\n"
^
SyntaxError: invalid syntax