def col(loc, strg):
 return ((((loc < len(strg)) and (strg[loc] == '\n')) and 1) or (loc - strg.rfind('\n', 0, loc)))

def col ( loc , strg ) : return ( ( ( ( loc < len ( strg ) ) and ( strg [ loc ] == '\n' ) ) and 1 ) or ( loc - strg . rfind ( '\n' , 0 , loc ) ) )
return a symbolic column variable .