Error Selecting Data From A List In Python If Else Grasshopper

Error Selecting Data From A List In Python If Else Grasshopper