#IDE显示问题吧 不影响你业务判断a = float("3608.03")dict = {'1':float("3608.03"),'2':float("3608.03")}print dict['1']==a #相等