问题 填空题

若|a+1|+(b-2)2=0,则a+b=______.

答案

根据题意得,a+1=0,b-2=0,

解得a=-1,b=2,

∴a+b=-1+2=1.

故答案为:1.

单项选择题
单项选择题