def mk_constant(cnst_syc):
s_dt = one(cnst_syc).S_DT[<NUM_LIT>]()<EOL>cnst_lsc = one(cnst_syc).CNST_LFSC[<NUM_LIT>].CNST_LSC[<NUM_LIT>]()<EOL>if s_dt.Name == '<STR_LIT>':<EOL><INDENT>return cnst_lsc.Value.lower() == '<STR_LIT:true>'<EOL><DEDENT>if s_dt.Name == '<STR_LIT>':<EOL><INDENT>return int(cnst_lsc.Value)<EOL><DEDENT>if s_dt.Name == '<STR_LIT>':<EOL><INDENT>return float(cnst_lsc.Value)<EOL><DEDENT>if s_dt.Name == '<STR_LIT:string>':<EOL><INDENT>return str(cnst_lsc.Value)<EOL><DEDENT>
Create a python value from a BridgePoint constant.