In [3]:
i=input ("Sar ezazu alderdiaren izena: ")
k=input ("Sar ezazu kolorea: ")
print ("<nowiki>",k,"</nowiki><noinclude>")
print ("== Adibideak ==")
print ("{|")
print ("|- style=color:{{ {{PAGENAME}} }}")
print ("| '''Kolore hau'''")
print ("|- style=background:{{ {{PAGENAME}} }}; color:white"")
print ("| '''Zuria kolore honetan'''")
print ("|- style=background:{{ {{PAGENAME}} }}; color:black"")
print ("| '''Beltza kolore honetan'''")
print ("|}")
  File "<ipython-input-3-22be569fd55c>", line 8
    print ("|- style=background:{{ {{PAGENAME}} }}; color:white"")
                                                                  ^
SyntaxError: EOL while scanning string literal
In [ ]: