EOL Error in Python

I am having the following error, can someone explain to me what can I do to fix it.

def increment(i):
    request =("https://www.minsalud.gov.co/sites/rid/Paginas/freesearchresults.aspx?k=&k=Salud%20Mental%20Legislacion#k=%2CSalud%20Mental%20Legislacion=+ 1"+ i+")

EOL while scanning string literal

Upvotes: 3

Views: 278

Answers (1)

ktzr
ktzr

Reputation: 1645

You are missing a closing " and ) at the end of your line

request =("https://www.minsalud.gov.co/sites/rid/Paginas/freesearchresults.aspx?k=&k=Salud%20Mental%20Legislacion#k=%2CSalud%20Mental%20Legislacion=+ 1"+ i+")")

Upvotes: 1

Related Questions