Delete multiple lines with Python

Hello.

I'm new at Python and want to delete multiple lines in Plaxis 2D with Python. The lines between Line_11 and Line_20 that I want to delete.

I tried a few codes like below, but I couldn't successfully.

For kk in range (11,21):
    lines= "g_i. Line_"+str(kk)
    g_i.delete(lines)


How can I achieve this?

Thanks

Sam.